Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63175

Forum Post: RE: function for thermometric code from digital bus

$
0
0
awvDigital2Analog has e.g. arguments ?mode and ?outWaveType to determine the type of the output, please look up the corresponding values in the manual that fit your requirements. Further, the veriloga is the way to handle this completely within analog domain. If you run an ams simulation than you have more options: 1) a verilogams module with electrical input and logic output for the thermo-to-binary translation. The logic output signal would then directly plot as digital waveform. This would remove the hassle with the extra conversion for waveform display of the output. 2) use pure digital verilog with all logic ports. The simulator will than take care of the connected signals: - when connecting to a digital net, no signal conversion is required and everything is handled in digital domain - when connecting to an analog net, then the simulator will automatically insert connect modules for a2d / d2a conversion on the ports of the modules. So no need for manual conversion inside, although you have less control on load, timing, thresholds, etc. This is also how the connection of the digital signal from your current systemverilog to the veriloga would be handled. Each option has advantages and disadvantages and you may choose depending on your requirements. Regards,

Viewing all articles
Browse latest Browse all 63175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>