B-Lang-org/bsc

bsc accepts, ignores -o option with -verilog

Open

#47 opened on Feb 11, 2020

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Haskell (1,108 stars) (178 forks)batch import
enhancementgood first issue

Description

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).

Contributor guide