Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST


Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | Modelsim Aliases

There are 4 messages in this thread.

You are currently looking at messages 0 to 4.

Modelsim Aliases - Brad Smallridge - 2005-01-12 14:08:00

I would like to spilt up information on a memory
data bus into its
components.  Some text have suggested aliases as a way of doing it. Is it
the best way?  Modelsim doesn't seem to show the aliases that I define, or,
more likely, I don't know how to get Modelsim to show aliases.  How is that
done?

Brad Smallridge
b r a d @ a i v i s i o n . c o m
415-661-068 


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.



Re: Modelsim Aliases - Mike Treseler - 2005-01-13 02:15:00

Brad Smallridge wrote:
> I would like to spilt up information on a memory data bus into its
> components.  Some text have suggested aliases as a way of doing it. Is it
> the best way?

Consider declaring each vector part separately.

> Modelsim doesn't seem to show the aliases that I define

That's the way it is.


   -- Mike Treseler
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Modelsim Aliases - Brad Smallridge - 2005-01-14 13:36:00

> Consider declaring each vector part
separately.

Thanks Mike,

Hmm. I can do that. What though is happening when I
do a clockless scheduled event,

 mem_input( 7 downto 0 ) <= blob_label;
 mem_input(15 downto 0) <= blob_volume;

and so on, and with the mem_output going the other way?
It would seem that I'm not creating any hardware, just new
names for the same signals.


______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Modelsim Aliases - Mike Treseler - 2005-01-14 15:59:00

Top port signals represent wires.
Synthesis requires a  process that
uses port and process values to update
process variables and port signals
at each rising_edge(clk).

Such a process might at some point read a port slice:
my_upper_byte_v :=  my_in_port(7 downto 0);
And perhaps drive a wide port:
my_out_port  <=  my_uout_byte_v  &  my_lout_byte_v ;
-- Mike Treseler