FPGA笔试面试题目记录

1 logic utilization

  • 题目 :Rank the following operations from lowest utilization to highest. Assume that all variables are 32-bit integers,that the operations are implemented using LUTs ony and that the synthesiser will produce an optimal digital circuit.
    1.X = Y * 3
    2.X = Y * 8
    3.X = Y + 2
    4.X = Y + 32
  • 解析 :
    1.X = Y * 3

2.X = Y * 8

综合后的电路通过在低位补3个0来实现乘8。

3.X = Y + 2

4.X = Y + 32


对比3、4,他们的不同在于加数。当x与2相加时,2的二进制形式为:2'b10,x的最低位可保持不变,其余位参与运算。当x与32相加时,32的二进制形式为:2'b10_0000,x的低5位可保持不变,其余位参与运算。

  • 答案:2431
相关推荐
ALINX技术博客2 小时前
16路GMSL摄像头显示:从 FPGA 采集到 Linux 显示的完整实现
fpga开发
SYHC_CSDN15 小时前
FPGA研发,HDL缺陷前置检测方案
fpga开发
SYHC_CSDN1 天前
HDLHorse:自动生成测试用例,全自动完成数字仿真与报告输出
fpga开发
ALINX技术博客2 天前
FPGA ADC 采集 + PCIe DMA 传输 + 上位机实时波形显示实战【黑金云课堂】
fpga开发·fpga
Brain 博览记4 天前
脑机接口研究丨FPGA 5 毫秒完成运动想象分类
开发语言·论文阅读·人工智能·机器学习·fpga开发·分类·数据挖掘
FakeOccupational5 天前
fpga系列 HDL : 选择RAM IP(Two Port IP核) 乒乓缓冲(Ping-Pong Buffer)工作流程
网络协议·tcp/ip·fpga开发
manduic6 天前
FPGA 主时钟用 NP3225SAD 有源晶振降低抖动
fpga开发
国科安芯6 天前
编队不是多放几颗星:分布式雷达与编队飞行任务中星内协同网络的确定性时序
网络·分布式·fpga开发·架构·低轨卫星·抗辐射
国科安芯8 天前
可更换的心脏:ASP4644S2B电源模块与模块化卫星在轨可维护供电架构
单片机·fpga开发·架构·电源模块·低轨卫星·抗辐射
国科安芯8 天前
看不见的地基:ASP4644S2B四通道电源模块与星载电源分配网络的完整性设计
网络·嵌入式硬件·fpga开发·adc·电源模块·抗辐射·载荷