Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test/Makefile COMPILE_ARGS += -I$(SRC_DIR) needed to make verilog include work #1

Open
dlmiles opened this issue Nov 4, 2024 · 0 comments
Assignees

Comments

@dlmiles
Copy link

dlmiles commented Nov 4, 2024

https://github.com/TinyTapeout/tt09-verilog-template/blob/main/test/Makefile#L15

COMPILE_ARGS += -I$(SRC_DIR)

This line should be available to both pre-synth and post-impl (gate-level) testing.

Since splitting the src/** and test/** the use of verilog include "file.v" is broken if the test bench is picking up configuration options from such an included file.

I would expect a testbench to have full visibility of the main sources it is testing.

@urish urish transferred this issue from TinyTapeout/tt09-verilog-template Nov 13, 2024
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

No branches or pull requests

2 participants