1 / 30
文档名称:

Simulation.pdf

格式:pdf   页数:30
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Simulation.pdf

上传人:中国课件站 2011/8/29 文件大小:0 KB

下载得到文件列表

Simulation.pdf

文档介绍

文档介绍:ASICs...THE COURSE (1 WEEK)
SIMULATION 13
Key terms and concepts: Engineers used to prototype systems to check designs •
Breadboarding is feasible for systems constructed from a few TTL parts • It is impractical for an
ASIC • Instead engineers turn to simulation
Types of Simulation
Key terms and concepts: simulation modes (high-level to low-level simulation–high-level is
more abstract, low-level more detailed): Behavioral simulation • Functional simulation • Static
timing analysis • Gate-level simulation • Switch-level simulation • Transistor-level or circuit-level
simulation
parator/MUX Example
Key terms and concepts: using input vectors to test or exercise a behavioral model • simu-
lation can only prove a design does not work; it cannot prove that hardware will work
// //1
p_mux(a, b, outp); input [2:0] a, b; output [2:0] outp; //2
function [2:0] compare; input [2:0] ina, inb; //3
begin if (ina <= inb) compare = ina; pare = inb; end //4
endfunction //5
assign outp = compare(a, b); //6
endmodule //7
// //1
p_mux_testbench; //2
integer i, j; //3
reg [2:0] x, y, smaller; wire [2:0] z; //4
always @(x) $display("t x y actual calculated"); //5
initial $monitor("%4g",$time,,x,,y,,z,,,,,,,smaller); //6
initial $dumpvars; initial #1000 $finish; //7
initial //8
1
2 SECTION 13 SIMULATION ASICS... THE COURSE
begin //9
for (i = 0; i <= 7; i = i + 1) //10
begin //11
for (j = 0; j <= 7; j = j + 1) //12
begin //13
x = i; y = j; smaller = (x <= y) ? x : y; //14
#1 if (z != smaller) $display("error"); //15
end //16
end //17
end //18
comp_mux v_1 (x, y, z); //19
endmodule //20
Structural Simulation
Key terms and concepts: logic synthesis produces a structural model from a behavioral model •
reference model • derived model • vector-based simulation (or dynamic simulation)
`timescale 1ns / 10ps // //1
p_mux_o (a, b, outp); //2
input [2:0] a; input [2:0] b; //3
output [2:0]

最近更新

2025年江西省南昌市单招职业倾向性考试模拟测.. 40页

2025年江西省景德镇市单招职业倾向性测试模拟.. 40页

2025年江西航空职业技术学院单招职业倾向性测.. 40页

2025年江西财经职业学院单招职业倾向性测试模.. 41页

2025年沙洲职业工学院单招职业倾向性测试模拟.. 39页

2025年沧州幼儿师范高等专科学校单招职业倾向.. 39页

2025年沧州航空职业学院单招职业倾向性测试模.. 40页

2025年河北劳动关系职业学院单招职业适应性测.. 40页

2025年河北工业职业技术大学单招职业适应性测.. 42页

2025年河北建材职业技术学院单招职业适应性测.. 38页

2025年河北旅游职业学院单招职业适应性测试题.. 42页

2025年河北省衡水市单招职业适应性考试模拟测.. 40页

2025年河北科技学院单招综合素质考试模拟测试.. 40页

2025年河北能源职业技术学院单招职业适应性考.. 41页

2025年河北轨道运输职业技术学院单招职业适应.. 40页

2025年河北青年管理干部学院单招职业适应性测.. 40页

2025年河南交通职业技术学院单招职业适应性测.. 41页

2025年河南农业职业学院单招职业适应性考试模.. 39页

2025年河南地矿职业学院单招职业技能测试模拟.. 41页

2025年河南女子职业学院单招职业适应性考试模.. 41页

2026年上海电机学院单招职业技能测试模拟测试.. 41页

2025年河南工业职业技术学院单招职业技能测试.. 40页

2025年河南应用技术职业学院单招职业倾向性考.. 41页

2025年河南建筑职业技术学院单招职业适应性考.. 40页

2026年中国计量大学单招职测备考题库及答案1套.. 42页

2025年河南林业职业学院单招职业适应性测试模.. 39页

2025年河南测绘职业学院单招职业技能测试模拟.. 40页

2025年河南省周口市单招职业倾向性测试模拟测.. 41页

2025年重庆市《保安员证》考试题库含答案 39页

预防滑倒、绊倒及跌落专题培训课件 45页