Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

problems with wrapping files together

-- i solved the problem already --

Hello community!

Again I got problems in my actual project :(

I want to wrap my memory (created with the megawizard) to my main project code. I already did this a few times and never had problems but this time I get the following error message during the compilation:

error (10482): vhdl error at microprocessor.vhd(80): object "memory" is used but not declared

my code to wrap the two files is following:

begin
Edit: My problem was that I forgot to rename the component part of my memory. Sorry for this post
    uut: memory.vhd
        port map(        data        =>     data_in,
                            clock         =>       actualclock,
                            address        =>       memory_address_register,
                            wren        =>       memory_write,
                            q           =>       data_out
                 );

Can anybody give me a hint how to solve this problem? Thanks in advance ;)

Best, orPoG
No RepliesBe the first to reply