Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否有通用的转换函数可以将整数类型对象转换为 VHDL 中的实数类型?这是针对测试平台的,因此可综合性不是问题。
您可以将整数转换为实数,如下所示:
signal i: integer; signal R: Real; ... R <= Real(i);