how to design combinational parts of benchmark circuits

Status
Not open for further replies.

avinashkumar

Newbie level 5
Joined
Jul 17, 2019
Messages
9
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Location
coimbatore
Activity points
55
hii friends,
This is code i have written for combinational parts of s27 circuit. i think it is not the exact procedure to write plz help me wheather it is correct or where i am getting wrong.


Code Verilog - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module s27(G0,G1,G17,G2,G3,G5,G6,G7,G13,G10,G11);
input G0,G1,G2,G3,G6,G5,G7;
output G17,G13,G10,G11;
wire G14,G8,G15,G12,G16,G9;
 not NOT_0(G14,G0);
  not NOT_1(G17,G11);
  and AND2_0(G8,G14,G6);
  or OR2_0(G15,G8,G12);
  or OR2_1(G16,G3,G8);
  nor NOR2_0(G10,G14,G11);
  nor NOR2_1(G11,G5,G9);
  nor NOR2_2(G12,G1,G7);
  nor NOR2_3(G13,G2,G12);
  nand NAND2_1(G9,G16,G15);
 endmodule

 
Last edited by a moderator:

Please don't write code at this level. this is called structural verilog and it is essentially the same as putting a schematic together. This type of effort has no place in today's EDA industry. You should be writing RTL.
For the specific ISCAS benchmarks, you can google and download them. No one is writing these anymore, makes no sense.
 
Thanks for your reply , iam using this for atpg. So I have written in structural modelling.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…