-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help Needed with Bluesim Integration and Accessing After-Elaboration Representation #743
Comments
For each module in a BH/BSV design, the compiler (BSC) produces an internal representation for the module and its schedule. From this representation, BSC can generate a Verilog module that implements the BH/BSV module. The conversion from the internal representation to Verilog is implemented in BSC's source code, in In the Verilog implementation, each Verilog module is responsible for its own scheduling. The scheduling of the design happens through the cooperation of these local schedulers. Bluesim is slightly different. For each module BSC executes as a sequence of stages: first, parsing stages read in the file; then stages do type checking; then compilation proceeds separately for each module, and a final The BSC source code in There is also some information on .ba and .bo files on this GitHub discussion: #575 (comment) In the You can direct BSC to dump information between each stage, using the The stages for the Bluesim branch are defined in files beginning with |
Thank you for your patient explanation! Your guidance has been incredibly helpful. I will look at the BSC source codes under I’ll also explore the links you provided for more detailed instructions. If I encounter any further issues, I'll be sure to reach out here for assistance again. Thanks once more for your support! |
I am exploring a cycle-level (quasi-cycle-accurate) simulator and believe that the rule abstraction of BS fits the task. I want to conduct some trials using BS designs represented as "an elaborated module plus a schedule that has been computed" as mentioned in #468.
I understand that the code under
src/bluesim
provides APIs and data structures for Bluesim, but I am struggling to find how Bluesim integrates with the BS representation. I suspect that this might be located undersrc/comp
, but I am not sure since I know nothing about Haskell and cannot understand the pretty codes.Additionally, I believe that the representation corresponds to
.ba
files; however, these files are not human-readable.Could you please provide suggestions or documentation references that could help me access and understand this representation?
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: