News for hackers. Stuff that matters.
Re:Tesla’s Neural Processor In The FSD Chip by kingosticks on Friday September 27, 2019 @04:26AM (#21089677)
I've used Modelsim my entire working life and one part of that has been the GUI debugger with it's waveforms, breakpoints, watches, execution stepping etc. If Verilator is re-ordering and optimising blocks, is that all stil possible, or only for the particular subset it doesn't happen to optimise away?
Re:Tesla’s Neural Processor In The FSD Chip by brandmeyer on Friday September 27, 2019 @08:57AM (#21091382)
Yes, it is possible. By default, only the top-level nets are exported from any given module. However, you can annotate additional nets of interest for export. There's also a mode whereby you can export everything, at a big hit in speed.

Even when exporting everything, its still much faster than Vivado's simulator, though.

Re:Tesla’s Neural Processor In The FSD Chip by kingosticks on Friday September 27, 2019 @09:13AM (#21091558)
That's interesting, thanks. The new 'vopt' mode in Modelsim forces you to do the same annotation thing, perhaps they are moving towards a Verilator style approach. Sadly vopt mode doesn't work for some of our designs and actually makes others slower so we have avoided adopting it (and are now stranded on an old version of the tool).