4 ms·
Draw yourself an SR latch and try simulating. Or a circuit what is known as „pulse generator“
by artemonster 7mo ago
Draw yourself an SR latch and try simulating. Or a circuit what is known as „pulse generator“
- CorrectHorseBat 7mo agoThose are analog circuits, if you put them in your digital design you are doing something wrong.
- kryptiskt 7mo agoAll circuits are analog when physically realized, the digital view is an abstraction.
- artemonster 7mo agodont know if trolling. SR latch you can do with 2 NANDs, or NORs there are plenty of *digital* circuits with that functionality, and yes, there are very rare cases when you construct this out of logic and not use a library cell for this. pulse circuit is AND(not(not(not(a))),a) also rarely used but used nonetheless. to properly model/simulate them you would need delta cycles
- CorrectHorseBat 7mo agoI'm not sure if you are trolling. 99.999% of digital design is "if rising edge clk new_state <= fn(old_state, input)", with an (a)sync reset. The language should make that the default and simple to do, and anything else out of the ordinary hard. Now it's more the other way around.
- hardolaf 7mo agoBoth SystemVerilog and VHDL have AMS extensions for simulating analog circuits. They work pretty well but you also pay a pretty penny for the simulator licenses for them.