Forum: FPGA, VHDL & Verilog Asynchronous mutex and arbiter

von Charles E. (icharles)

Attached files:

Rate this post
0 useful
not useful
1. Does anyone knows a gate level implementation of asynchronous 
metastability filter for mutex ? I couldn't find a gate level 
description online.

2. I created a MUTEX using two NAND gate. See attached file pls

After running simulation, the output G1, G2 is 'U' :( If I change one of 
R1,R2 to be '0' it works. What could be wrong ?

3. Does anyone knows how to code an asynchronous arbiter that can be 
used to control a MUX or demux. I'm did the coding but have some 
problems simulating it.

Any help or reference materials would be appreciated. Thanks

: Edited by User
von Lothar M. (lkmiller) (Moderator)

Rate this post
0 useful
not useful
Pls use the VHDL tags further on. It will give you and us neat syntax 
wait for clock_cycle; 
R1 <= '1'; 
wait for clock_cycle; 
R2 <= '1'; 

> Interface is as below:
And the implementation?

> After running simulation
Which one?

> What could be wrong ?
Something with the code not posted here...


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.