Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by delta136

  1. D

    Did I correctly implement this SR-Latch and D-Latch?

    The diagram drawn by my teacher and attached in the previous post calls for a NAND gate with 3 inputs. The third input is for the "Preset" and "Reset" at NAND gates 3, 4, 7, and 8 in the diagram (from left to right) I tried to convert the 3 input NAND gate into two 2 input NAND gates but...
  2. D

    Did I correctly implement this SR-Latch and D-Latch?

    Ok, last question, I promise! What's wrong with my Flip Flop? My output for Q and Q' are both x. Any ideas why? module flipflop(output q, output q_not, input p, input d, input c, input r); wire [1:0]...
  3. D

    How to extend 4-bit barrel shifter to 32-bit?

    I have to do the barrel shifter at the gate-level as part of my assignment. I'm only implementing the left barrel shifter for now, then I will implement the right barrel shifter after I can get the left one working first. Once both the left and right side are implemented, I can combine them...
  4. D

    How to extend 4-bit barrel shifter to 32-bit?

    Thanks for the link, but I know how to use a generate block :) The problem I'm having is the algorithm inside the for-loop for placing the 0's and output from previous cascaded muxes
  5. D

    Did I correctly implement this SR-Latch and D-Latch?

    Sorry for being clueless, but how could I verify the next input? I only know how to verify Q(t) and not Q(t+1) Here's the test bench I wrote using inputs from the truth table: module sr_latch_test; wire q; wire q_not; reg s; reg c; reg r; sr_latch test1(.q(q), .q_not(q_not)...
  6. D

    How to extend 4-bit barrel shifter to 32-bit?

    I'm having some trouble thinking of an algorithm for extending a 4-bit left shifter to 32-bits Here's my 4 bit left shifter code: module left_barrel_shift_4(output [3:0] y, input [3:0] b, input [1:0] s); wire mux1_out, mux2_out...
  7. D

    Did I correctly implement this SR-Latch and D-Latch?

    Hey everyone! Would greatly appreciate it if someone could look over my code and tell me if I implemented this correctly. 1-bit SR-Latch: (Teacher provided the diagram and truth table) Code here: (c is for the clock) module sr_latch(output q, output q_not...
  8. D

    Implementing 32-bit multiplier at the gate-level

    You were extremely helpful. Thank you so much
  9. D

    Implementing 32-bit multiplier at the gate-level

    Hey all, I was wondering if you could help me with my homework. I need to implement a 4-bit multiplier at the gate-level in verilog using AND gates and adders I've drawn the layout, but I'm having trouble translating it to Verilog. When I instantiate an AND-gate, how do I extract the least...

Part and Inventory Search

Back
Top