VHDL - konwersja typu

Witam,

Jak zrobić konwersję typu 'time' na 'integer'?

Reply to
Stachu Chebel
Loading thread data ...

Drugi wynik w google na "time integer conversion vhdl" nie rozwiał Twoich wątpliwości?

Reply to
Michoo

Niestety nie!! Kompilator wywala błąd ERROR:HDLCompiler:9 - "D:/ Xilinx7.1i/testy/LVDS2_TB.vhd" Line 125: Found 0 definitions for operator "/" . Linia 125:

z:=1.0*now/time'val(1);

Oczywiście 'z' jest wcześniej zadeklarowane jako 'real'

Reply to
Stachu Chebel

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.