Author Topic: Altera Quartus II ROM megafunction?  (Read 3667 times)

0 Members and 1 Guest are viewing this topic.

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Altera Quartus II ROM megafunction?
« on: May 21, 2015, 11:38:22 pm »
Hey guys,

I'm making a simple VGA image displayer (only a 100x75 pixels at the moment, stored as RGB565 for native output format) and I've implemented VGA timing part and RAM access. The problem I have however is that when I compile my program, Quartus doesn't seem to include my memory block into my final project. Does anybody have any idea why?

Thanks,

 

Offline John_ITIC

  • Frequent Contributor
  • **
  • Posts: 522
  • Country: us
  • ITIC Protocol Analyzers
    • International Test Instruments Corporation
Re: Altera Quartus II ROM megafunction?
« Reply #1 on: May 22, 2015, 12:15:27 am »
If you have not already, best post in alteraforum.com

Normally, the compilation report shows in warnings/errors why various design modules are not included. Study it carefully and I'm sure the answer will be there.
Pocket-Sized USB 2.0 LS/FS/HS Protocol Analyzer Model 1480A with OTG decoding.
Pocket-sized PCI Express 1.1 Protocol Analyzer Model 2500A. 2.5 Gbps with x1, x2 and x4 lane widths.
https://www.internationaltestinstruments.com
 

Offline marshallh

  • Supporter
  • ****
  • Posts: 1462
  • Country: us
    • retroactive
Re: Altera Quartus II ROM megafunction?
« Reply #2 on: May 22, 2015, 04:29:28 am »
Read through ALL the warnings. Probalby your block is getting completely optimized away. Look upstream for missing clocks or connections.
Verilog tips
BGA soldering intro

11:37 <@ktemkin> c4757p: marshall has transcended communications media
11:37 <@ktemkin> He speaks protocols directly.
 

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Re: Altera Quartus II ROM megafunction?
« Reply #3 on: May 22, 2015, 10:02:02 am »
If you have not already, best post in alteraforum.com

Normally, the compilation report shows in warnings/errors why various design modules are not included. Study it carefully and I'm sure the answer will be there.

I'll post on the Altera forum too, thanks!

I've searched through my compilation messages and there seems to be nothing stating the memory block being removed through optimization. I'm sure its finding the file too as the design unit is being found at compilation.

Read through ALL the warnings. Probalby your block is getting completely optimized away. Look upstream for missing clocks or connections.

In my VGA controller VHDL code, I've specified the address and data lines and connected them to the memory block using the block diagram schematic file pictured. I haven't however assigned these address and data lines in the pin planner. Do you think that could be the problem?
 

Offline John_ITIC

  • Frequent Contributor
  • **
  • Posts: 522
  • Country: us
  • ITIC Protocol Analyzers
    • International Test Instruments Corporation
Re: Altera Quartus II ROM megafunction?
« Reply #4 on: May 22, 2015, 09:16:35 pm »
I haven't however assigned these address and data lines in the pin planner. Do you think that could be the problem?

No. The fitter would normally just choose any free pins. You would get warnings for unassigned pins, though.
Pocket-Sized USB 2.0 LS/FS/HS Protocol Analyzer Model 1480A with OTG decoding.
Pocket-sized PCI Express 1.1 Protocol Analyzer Model 2500A. 2.5 Gbps with x1, x2 and x4 lane widths.
https://www.internationaltestinstruments.com
 

Offline pyrohazTopic starter

  • Regular Contributor
  • *
  • Posts: 186
  • Country: gb
    • Harris' Electronics!
Re: Altera Quartus II ROM megafunction?
« Reply #5 on: May 22, 2015, 09:49:48 pm »
I haven't however assigned these address and data lines in the pin planner. Do you think that could be the problem?

No. The fitter would normally just choose any free pins. You would get warnings for unassigned pins, though.

Yeah, I gathered that. It definitely gives warnings for unassigned pins but I still can't see anything about the memory megafunction. Maybe because its IP, I need to do additional work to getting it working other than just the megafunction wizard?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf