
Resizing a VHDL std_logic_vector | Forum for Electronics
2011年8月20日 · Function "resize" works on types "signed" and "unsigned". Is there a standard VHDL function that does the same on std_logic_vector?
VHDL Native Maximum function | Forum for Electronics
Yes, because Quartus VHDL 2008 support is pretty laughable, other than Quartus prime pro 16. No 2008 versions of any VHDL package are supported. Hence the lack of min/max functions. …
[Moved] VHDL log base 2 function - Forum for Electronics
2011年8月20日 · I use this VHDL log function for vector length sizing. function log2_unsigned ( x : natural ) return natural is variable temp : natural := x ; variable n : natural := 0 ; begin while …
Use of functions,procedures in vhdl | Forum for Electronics
2006年7月23日 · in VHDL, each time you call a function, a dedicated hardware is synthesized corresponding to it. If you call a function 10 times, the hardware will have 10 instances of that …
hread command in vhdl | Forum for Electronics
2016年2月22日 · O.K., HREAD (=hexread) is a function from stdlogic_texio, a non-standard Synopsys library. Click to expand... In 2008, read, oread and hread (along with respective …
VHDL write() function in std_textio - Forum for Electronics
2002年2月20日 · HI! Can anyone please help me with write() function. I would like to make a results file, the problem is that when I use te function the data are writen in 1 line but I would …
the VHDL EXT function | Forum for Electronics
2013年11月24日 · Joined Aug 20, 2011 Messages 2,644 Helped 303 Reputation 608 Reaction score 297 Trophy points 1,363 Activity points
Standart VHDL function that rounds down numbers
Joined Aug 20, 2011 Messages 2,644 Helped 303 Reputation 608 Reaction score 297 Trophy points 1,363 Activity points
How to count number of '1's in std_logic_vector? (VHDL)
2010年7月26日 · You can always use a variable and a loop. (or a function). in hardware, it should be similar to N 1-bit additions. the complexity should scale with around log2(N) levels of logic. I …
Sin & Cos Functions in VHDL - Forum for Electronics
2011年3月17日 · Hi everybody! I'm new on this world of FPGA's. Well I'm trying to implement the function Sin and Cos in VHDL but I have a problem because my FPGA's doesn't works with …