User Tools

Site Tools


fpga:vhdl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
fpga:vhdl [2025/06/13 07:40] – utedassfpga:vhdl [2026/09/28 09:17] (current) – [Other things] utedass
Line 27: Line 27:
 signal my_int_ranged : integer -1 to 23; -- Limited range. Simulator might enforce, synthesiser might not signal my_int_ranged : integer -1 to 23; -- Limited range. Simulator might enforce, synthesiser might not
 signal my_uint : unsigned (7 downto 0); signal my_uint : unsigned (7 downto 0);
-signal my_sint : signed (7 downto 0);+signal my_sint : signed (7 downto 0) := x"0a"; -- Default values might not synthesize, depends on target
  
 -- loose bits, math operations not allowed -- loose bits, math operations not allowed
Line 100: Line 100:
  
 <code vhdl> <code vhdl>
-report "this is a message"; -- severity note+report "this is a message"; -- Default severity level is note
 -- or: -- or:
 report "this is a serious message" severity warning; -- Possible values: note, warning, error, failure report "this is a serious message" severity warning; -- Possible values: note, warning, error, failure
 </code> </code>
fpga/vhdl.1749800443.txt.gz · Last modified: 2025/06/13 07:40 by utedass

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki