Verilog and Digital circuit Get link Facebook X Pinterest Email Other Apps May 11, 2022 本文归纳总结于《Advanced Digital Design with the Verilog HDL》second edition Get link Facebook X Pinterest Email Other Apps Comments
托福 TPO词汇题汇总 February 05, 2023 TPO1: Incredible : unbelievable Out of sight: hidden Overlie: cover Plug: fill up Champion: support Attribute: ascribe 导致,把。。归咎于 Autonomous : independent 自治 独立 Penchant : inclination 倾向 Dramatic (剧烈的) striking (显著的 突出的) Attain : achieve Prone( 有。。倾向 ) : likely Prevalent : widespread TPO2: Threatened : endangered Delicate : fragile Progressively : increasingly devoid of (缺乏): lacking in precious : valuable exposed : visible propulsion(推进) : moving forward readily (轻而易举): easily assistance : help expanded : was enlarged TPO3: feasible(可行的):achievable enhance:improve devise(设计、 发明): creat integral(完整的,必须的):essential (基本的,必要的) arduous(艰巨的):difficult ensuing(跟随、接下来):subsequent unprecedented(史无前例):unlike anything in past vitually(几乎):almost inevitable:unavoidable particular(特别的,特定的):specific guarantee:ensure pales (苍白无力):loses significance adjacent : neighbouring TPO4: inhibit(阻拦,阻止): restrict in the same breath: immed... Read more
浮点数 October 19, 2023 浮点数有区别于整数,直接用二进制来表示具体的数字有一定难度。一般采取IEEE-754标准作为浮点数的表示方法。 如果以32位作为例子: 1 xxxxxxxx xxxxxxxxxxxxxxxxxxxxxxx.....(23个) 符号位 exponent significand 具体的例子: 1 10000000 10000000000000000000.... -1*2^(128-127)*1.5=-3.0 当exponent=0时,会认为significand的基础值时0而非1。 Read more
RISC-V中检测乘法是否溢出的方法 January 13, 2023 RISC-V有四种乘法指令分别是: mul:乘 mulh:乘后取高位 mulhu:无符号数乘法取高位, 64bit * 64bit其128bit结果中的前64bit的值 mulhsu: 有符号和无符号数乘法取高位 如果想得到比如128位积中的高64位,且两个操作数都是有符号的,则应使用mulh。mulhu和mulhsu则各自对应各自定义中的操作数。 所以软件上可以采用乘法取高位的方法来测试是否出现溢出: 如果mulhu的结果为0,那么必然是没有发生溢出。 如果mulh的结果都是mul结果的符号位的复制,那么显然也没有发生溢出。 Read more
Comments
Post a Comment