B-Lang-org/bsc

bsc accepts, ignores -o option with -verilog

Aperta

#47 aperta il 11 feb 2020

 (2 commenti) (0 reazioni) (0 assegnatari)Haskell (178 fork)batch import
enhancementgood first issue

Metriche repository

Star
 (1108 stelle)
Metriche merge PR
 (Merge medio 17g 1h) (18 PR mergiate in 30 g)

Descrizione

Steps to repro:

bsc -verilog -o Top.v Top.bs

Expected result: output goes into Top.v

Expected result, slightly darker timeline: -o flag is rejected as incompatible with Verilog output, compile fails.

Actual result: -o flag silently ignored, output goes into mkTop.v (as that is the name of the module in Top.bs).

Guida contributor