24.03.2013 Views

Mixed-Signal IC Design Kit Training Manual - Electrical & Computer ...

Mixed-Signal IC Design Kit Training Manual - Electrical & Computer ...

Mixed-Signal IC Design Kit Training Manual - Electrical & Computer ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

1. Create a behavioral view for the stimulus block<br />

2. Define the stimulus module<br />

3. Add verilog command to force input signal<br />

4. Create a symbol view for the block<br />

5. Add the symbol into top schematic view<br />

`timescale 10ns/10ns<br />

//Define the stimulus block<br />

module Stim(tx,precharge);<br />

output [1:16] tx ;<br />

output precharge ;<br />

//Defines the registers<br />

reg [1:16] tx ;<br />

reg precharge ;<br />

initial begin<br />

tx=16’h0000;<br />

precharge = 1’b0 ;<br />

end<br />

Digital Stimuli<br />

initial begin<br />

#2418 tx[3] = 1’b1 ;<br />

#17 tx[3] = 1’b0 ;<br />

end<br />

initial begin<br />

#1558 tx[6]=1’b1 ;<br />

#17 tx[6] = 1’b0 ;<br />

initial begin<br />

#37 precharge = 1’b1 ;<br />

#11 precharge = 1’b0 ;<br />

#27 precharge = 1’b1 ;<br />

end<br />

63 <strong>Mixed</strong>-<strong>Signal</strong> <strong>IC</strong> <strong>Design</strong> <strong>Kit</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!