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 (178 forks)batch import
enhancementgood first issue

Repository metrics

Stars
 (1,108 stars)
PR merge metrics
 (Avg merge 17d 1h) (18 merged PRs in 30d)

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