+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Newbie level 4
    Points: 64, Level: 1

    Join Date
    Jul 2019
    Location
    coimbatore
    Posts
    7
    Helped
    0 / 0
    Points
    64
    Level
    1

    how to design combinational parts of benchmark circuits

    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 ads-ee; 23rd July 2019 at 16:28. Reason: adding missing code tags

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 5
    Points: 8,600, Level: 22

    Join Date
    Apr 2016
    Posts
    1,805
    Helped
    318 / 318
    Points
    8,600
    Level
    22

    Re: how to design combinational parts of benchmark circuits

    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.
    Really, I am not Sam.



    •   AltAdvertisement

        
       

  3. #3
    Newbie level 4
    Points: 64, Level: 1

    Join Date
    Jul 2019
    Location
    coimbatore
    Posts
    7
    Helped
    0 / 0
    Points
    64
    Level
    1

    Re: how to design combinational parts of benchmark circuits

    Thanks for your reply , iam using this for atpg. So I have written in structural modelling.



--[[ ]]--