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.

[SOLVED] Making a MUX-like process but getting errors (VHDL)

Status
Not open for further replies.

gilm

Newbie
Joined
Mar 5, 2022
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
10
Hi all,

I am trying to do the following in a process in VHDL:

Code VHDL - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
process(FAST_CLK)
    begin
     if rising_edge(FAST_CLK) then
        if RESET = '1' then
           AUDIO_OUT_VALID <= '1';
           AUDIO_OUT <= AUDIO_IN;
        else
            case top_state is
            when WAIT_FOR_FRAME_PART =>....
              .
              .
              .
              .


In the testbench I set the reset signal to 0 so that I only expect to see the results of the "else" option. But at the beginning of the waveform the results of
AUDIO_OUT_VALID <= '1';
AUDIO_OUT <= AUDIO_IN;
are showing even though RESET = 0 throughout the entire time. I don't see how this can happen. I would be happy to provide more info if needed. Thanks in advance!
 
Last edited:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top