Verilog HDL Program for Parallel In – Serial Out Shift Register

Verilog HDL Program for Parallel In – Serial Out Shift Register.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
module piso1(sout,sin,clk);
    output sout;
    input [3:0]sin;
    input clk;
    wire [3:0]q;
    inv u1(p,sl);
    and1 u2(n,sin[1],p);
    and1 u3(r,sl,q[0]);
    or1 u4(s,n,r);
    and1 u5(t,sin[2],p);
    and1 u6(u,sl,q[1]);
    or1 u7(v,u,t);
    and1 u8(w,sin[3],p);
    and1 u9(y,sl,q[2]);
    or1 u10(z,w,y);
    dff1 u11(q[0],sin[0],clk);
    dff1 u12(q[1],s,clk);
    dff1 u13(q[2],v,clk);
    dff1 u14(q[3],z,clk);
    assign sout = q[3];
endmodule
Simulated Waveform for Parallel In – Serial Out Shift Register
Simulated Waveform for Parallel In – Serial Out Shift Register

1,326 Responses to “Verilog HDL Program for Parallel In – Serial Out Shift Register”

  1. Marcelo Hugh

    Marketing has changed to some of the absolute most demanding as well as critical facets of having to operate a company. This eventually means that the overall effectiveness of your organisation is actually going to depend mostly on the efficiency of your ad campaign.

    Reply
  2. Kathi McClinton

    I know this if off topic but I’m looking into starting my own blog and was curious what all is required to get setup? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100% certain. Any recommendations or advice would be greatly appreciated. Kudos

    Reply
  3. Lawanna Rignall

    Advertising has changed to some of one of the most demanding as well as important facets of must manage an organisation. This eventually means that the overall effectiveness of your company is heading to depend primarily on the efficiency of your marketing campaign.

    Reply
  4. Dalene Rudduck

    The other day, while I was at work, my cousin stole my apple ipad and tested to see if it can survive a twenty five foot drop, just so she can be a youtube sensation. My iPad is now broken and she has 83 views. I know this is completely off topic but I had to share it with someone!

    Reply
  5. Emerson Lakeland

    Advertising and marketing has actually transformed to among one of the most asking for as well as critical parts of needing to run a service. This ultimately suggests that the overall excellence of your service is visiting depend mainly on the efficiency of your advertising campaign.

    Reply
  6. Willard Salerno

    Advertising and marketing has actually transformed to among the best demanding and vital aspects of needing to operate a business. This ultimately suggests that the overall excellence of your service is actually mosting likely to depend primarily on the effectiveness of your marketing campaign.

    Reply

Leave a Reply