Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- FPGAs and Programmable Solutions
- Programmable Devices
- Adding Hex numbers

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-06-2011
04:21 PM

1,053 Views

Adding Hex numbers

Hi,

Does anyone know how can I add Hex numbers inside the process (VHDL)? For instance, I want to add x"55"
3 Replies

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-06-2011
04:50 PM

93 Views

--- Quote Start --- Hi, Does anyone know how can I add Hex numbers inside the process (VHDL)? For instance, I want to add x"55"

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-07-2011
04:39 AM

93 Views

Thanks a lot...

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-08-2011
07:12 PM

93 Views

I want to add two hex numbers inside the process…

This is my code: " LIBRARY IEEE; USE IEEE.STD_LOGIC_1164.ALL; --USE IEEE.STD_LOGIC_ARITH.ALL; USE IEEE.STD_LOGIC_UNSIGNED.ALL; USE IEEE.NUMERIC_STD.ALL; --I using "conv_std_logic_vector" function … signal TX_checkSum: std_logic_vector (8 downto 0); begin process (clk) begin if reset='1' then … elsif clk'event and clk='1' then TX_checkSum <= std_logic_vector(unsigned(x"55") + unsigned(x"55")); end if; end process; " I get the following error:" Error (10408): VHDL error at UART.vhd(139): can't determine type of object at or near string ""01010101"" -- found 25 possible types". What could be the problem?For more complete information about compiler optimizations, see our Optimization Notice.