Comments (5)
I see that you've submitted a PR for this. Thank you, I'll review it. BSC should definitely be generating a unique name.
For years, the only supported syntax was BSV, because the target users were hardware designers that were familiar with Verilog and SystemVerilog, not Haskell. The Haskell-based "Classic" syntax (which we're now calling BH) was maintained, but new features weren't added to it and nearly no one wrote designs in it. The BSV syntax natively supports SystemVerilog preprocessor directives (it preserves position information etc) and so I don't think anyone ever used CPP, instead preferring the SV PP. The Classic/BH syntax obviously doesn't have SV preprocessor support, so you have to use CPP. Recently, there's been interest in using the Classic/BH syntax, and those Classic/BH tutorial examples were added to help those folks. I assume that as more people start using the BH front-end, we'll see requests for fixes like this and for features (to make the BH front-end catch up with the BSV front-end).
from bsc.
That's a great point that this affects only the "classic" frontend. I didn't realize that (as I've been working with classic).
I think I've seen this bug manifest without -cpp
on the command line, but I'm going to have to check my notes carefully before I assert that more forcefully.
from bsc.
The _t_o_p.c
name should be fixed with commit e5af869. Do any other interferences occur?
from bsc.
@cbiffle Gentle poke... is this working for you now?
from bsc.
For reference: Above, I mentioned that I'd fixed it with commit e5af869, but I reverted that (with commit e0aab35) and accepted @cbiffle 's original solution for this (PR #52) with merge commit 8bcfc18.
from bsc.
Related Issues (20)
- Testsuite reports an error getting BSC version HOT 2
- Internal Compiler Error when quoting a character value. HOT 4
- Bluesim's symbol-probing interface has wrong values for FIFO
- Unresolved numeric contexts that should be resolvable HOT 6
- Verilog import fails in macro substitution HOT 2
- Unexpected syntax error HOT 1
- expandPorts.tcl has hardcoded paths which do not exist. HOT 1
- Unexpected behavior in Stmt sequence when using par HOT 2
- Bluesim divide-by-zero behavior is inconsistent on arm64 HOT 2
- Type synonyms with phantom parameters can lead to strange behaviors (E.g., compiler hang) HOT 4
- doc example for mkUniqueWrapper2 HOT 7
- -remove-unused-modules flag doesn't work with mkProbe module provided in std library HOT 2
- Failures with compilation on raspberry-pi 5 HOT 4
- GCC 14 emits extra warnings HOT 1
- Github's macos-11 runner is going away HOT 1
- [Bluesim] Simulation executable fails with `undefined symbol: _Z21vcd_write_scope_startP9tSimStatePKc` HOT 9
- `sqrtFP` is incorrect HOT 6
- compile to verilog, convert function to function, but not to modules. HOT 1
- Preserving structure at synthesis boundaries HOT 2
- Better control of wrapper generation HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bsc.