Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fpv,prim] Fix PrimCountFpv define in prim_count tests
The existing code was wrong, and it was my fault: I had thought that the Jasper "-define" argument would turn into a pre-processor define. But it doesn't! It actually defines a TCL variable that (in our case) is visible in fpv.tcl. Fortunately, the hjson/tcl machinery has a "defines" key, which common_formal_cfg.hjson translates into an FPV_DEFINES environment variable, which then gets picked up by fpv.tcl and passed in to the JasperGold "analyze" command. This commit switches to using that. Signed-off-by: Rupert Swarbrick <rswarbrick@lowrisc.org>
- Loading branch information