Skip to content

Conversation

@tandr3w
Copy link

@tandr3w tandr3w commented Jan 19, 2026

issue #86

Rewrote parameters as an enum and moved it to types.svh (had to change the testbenches to access the state encodings directly).

@tandr3w tandr3w force-pushed the andrew-enum-refactor branch 6 times, most recently from 7c1f16f to 9b16a96 Compare January 19, 2026 19:52
Comment on lines +7 to +8
CORE_SRC := $(shell find $(BASE_INCLUDE_DIR)src/packages -name "*.sv" -o -name "*.v") \
$(shell find $(BASE_INCLUDE_DIR)src \( -name "*.sv" -o -name "*.v" \) -not -path "$(BASE_INCLUDE_DIR)src/packages/*")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need the packages to be included separately here? im pretty sure it should work without any explicit mentions of the subdirectories as long as its within src/, might be missing smth tho

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the packages have to be compiled before the other files, otherwise I get an error like "Reference to 'state_t' before declaration"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh interesting

@tandr3w tandr3w force-pushed the andrew-enum-refactor branch 2 times, most recently from 600abd6 to afc1716 Compare January 19, 2026 20:07
@tandr3w tandr3w force-pushed the andrew-enum-refactor branch from afc1716 to a92eca9 Compare January 19, 2026 20:12
@TheDeepestSpace TheDeepestSpace linked an issue Jan 23, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert CFSM params to an enum

3 participants