Content addressable memory (CAM) stands out as an efficient hardware solution for memory-intensive search operations by supporting parallel computation in memory. However, developing a CAM-based accelerator architecture that achieves acceptable accuracy, while minimizing hardware cost and catering to both exact and approximate search, still presents a significant challenge especially when considering a broader spectrum of applications. This complexity stems from CAM's rapid evolution across multiple levels--algorithms, architectures, circuits, and underlying devices. This paper introduces CAMASim, a first comprehensive CAM accelerator simulation framework, emphasizing modularity, flexibility, and generality. CAMASim establishes the detailed design space for CAM-based accelerators, incorporates automated functional simulation for accuracy, and enables hardware performance prediction, by leveraging a circuit-level CAM modeling tool. This work streamlines the design space exploration for CAM-based accelerator, aiding researchers in developing effective CAM-based accelerators for various search-intensive applications.
翻译:内容可寻址存储器(CAM)通过在存储单元内支持并行计算,成为内存密集型搜索操作的一种高效硬件解决方案。然而,开发一种既能满足精确搜索与近似搜索需求、同时最小化硬件成本并实现可接受精度的CAM加速器架构,在考虑更广泛的应用场景时仍存在重大挑战。这一复杂性源于CAM在算法、架构、电路及底层器件等多个层面的快速演进。本文提出CAMASim——首个综合性CAM加速器仿真框架,其核心设计强调模块化、灵活性与通用性。CAMASim建立了基于CAM加速器的详细设计空间,通过集成自动化的功能仿真以评估精度,并借助电路级CAM建模工具实现硬件性能预测。该工作优化了CAM加速器的设计空间探索流程,助力研究者为各类搜索密集型应用开发高效的CAM加速器。