Publicité
The following Verilog always block implements a behavioral model of .pdf
Prochain SlideShare
The Green Giant has a 4 percent profit margin and a 30 percent divid.pdfThe Green Giant has a 4 percent profit margin and a 30 percent divid.pdf
Chargement dans ... 3
1 sur 1
Publicité

Contenu connexe

Plus de amolmobileshop(19)

Publicité

The following Verilog always block implements a behavioral model of .pdf

  1. The following Verilog always block implements a behavioral model of a D flip-flop: reg Q; always @(posedge clock) begin Q = D; end Recall the characteristic equation for a J-K flip-flop is Q+ = JQ' + K'Q. Modify the Verilog code in this always block to model a J-K flip-flop. Solution reg Q; always @(posedge clock) begin Q = ((~J)&Q)|(K&(~Q)); end
Publicité