Run pipelineC in browser #35
suarezvictor
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The excellent tool 8bitworkshop can simulate verilog and show results as waveforms or video. It currently supports the Silice HDL. Simulation is by using verilator.
Since the project is open source, it can be modified to support pipelinec in a similar way as with Silice.
Here are some pointers to do such modifications to the code base:
tool "pipelinec" can be added here
https://github.com/sehugg/8bitworkshop/blob/master/src/worker/workermain.ts#L1073
and a function compilePipelineC() could mimic the current compileSilice(), it is just a matter of calling some console commands and provide back the generated verilog sources, and select tool based on file extension
https://github.com/sehugg/8bitworkshop/blob/master/src/worker/tools/verilog.ts#L250
https://github.com/sehugg/8bitworkshop/blob/master/src/platform/verilog.ts#L713
Silice's near-realtime rotating texture demo: test it here! https://8bitworkshop.com/v3.8.0/?platform=verilog&file=rototexture.ice
Beta Was this translation helpful? Give feedback.
All reactions