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.

Tell me whether the below code is checker or not

Status
Not open for further replies.

sai685

Junior Member level 2
Junior Member level 2
Joined
Sep 4, 2015
Messages
23
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
292
Check the code and tell me still if any checkers i need to do . if there give me a brief about them.
Code:
 always@(posedge wr_clk or posedge rd_clk)
    begin
  if(rd_empty && wr_full)
    begin
   $display("error");
    end
    end
  
  always @(posedge wr_clk)
    begin
      if(write_enable && wr_full)
        begin
          $display("error");
        end
    end
  always @(posedge rd_clk)
    begin
      if(read_enable && rd_empty)
        begin
          $display("error");
        end
    end

- - - Updated - - -

the above code is for Asynchronous FIFO

- - - Updated - - -

the above code is for Asynchronous FIFO
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top