2020-02-12 20:45:14 -06:00
|
|
|
/********************************************************************
|
|
|
|
* This file includes all the reserved words that are used in
|
|
|
|
* naming module, blocks, instances and cells in FPGA X2P support,
|
|
|
|
* including:
|
|
|
|
* Verilog generation, SPICE generation and bitstream generation
|
|
|
|
*******************************************************************/
|
|
|
|
#ifndef OPENFPGA_RESERVED_WORDS_H
|
|
|
|
#define OPENFPGA_RESERVED_WORDS_H
|
|
|
|
|
2020-02-12 21:25:05 -06:00
|
|
|
/* begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
|
|
|
|
2020-06-20 19:25:17 -05:00
|
|
|
/* Top-level module name */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* FPGA_TOP_MODULE_NAME = "fpga_top";
|
2023-06-18 21:17:42 -05:00
|
|
|
constexpr const char* FPGA_CORE_MODULE_NAME = "fpga_core";
|
|
|
|
constexpr const char* FPGA_CORE_INSTANCE_NAME = "fpga_instance";
|
2020-06-20 19:25:17 -05:00
|
|
|
|
2021-09-28 19:29:03 -05:00
|
|
|
/* Configuration chain naming constant strings */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* CONFIGURABLE_MEMORY_CHAIN_IN_NAME = "ccff_head";
|
|
|
|
constexpr const char* CONFIGURABLE_MEMORY_CHAIN_OUT_NAME = "ccff_tail";
|
|
|
|
constexpr const char* CONFIGURABLE_MEMORY_DATA_OUT_NAME = "mem_out";
|
|
|
|
constexpr const char* CONFIGURABLE_MEMORY_INVERTED_DATA_OUT_NAME = "mem_outb";
|
|
|
|
constexpr const char* BL_SHIFT_REGISTER_CHAIN_HEAD_NAME = "bl_sr_head";
|
|
|
|
constexpr const char* BL_SHIFT_REGISTER_CHAIN_TAIL_NAME = "bl_sr_tail";
|
|
|
|
constexpr const char* BL_SHIFT_REGISTER_CHAIN_BL_OUT_NAME = "bl_sr_bl_out";
|
|
|
|
constexpr const char* WL_SHIFT_REGISTER_CHAIN_HEAD_NAME = "wl_sr_head";
|
|
|
|
constexpr const char* WL_SHIFT_REGISTER_CHAIN_TAIL_NAME = "wl_sr_tail";
|
|
|
|
constexpr const char* WL_SHIFT_REGISTER_CHAIN_WL_OUT_NAME = "wl_sr_wl_out";
|
|
|
|
constexpr const char* WL_SHIFT_REGISTER_CHAIN_WLR_OUT_NAME = "wl_sr_wlr_out";
|
2020-06-20 19:25:17 -05:00
|
|
|
|
2020-02-13 16:27:16 -06:00
|
|
|
/* IO PORT */
|
|
|
|
/* Prefix of global input, output and inout ports of FPGA fabric */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* GIO_INOUT_PREFIX = "gfpga_pad_";
|
2020-02-12 21:25:05 -06:00
|
|
|
|
2020-02-12 20:45:14 -06:00
|
|
|
/* Grid naming constant strings */
|
2022-10-06 19:08:50 -05:00
|
|
|
constexpr const char* GRID_MODULE_NAME_PREFIX = "grid_";
|
|
|
|
constexpr const char* LOGICAL_MODULE_NAME_PREFIX = "logical_tile_";
|
2020-02-12 20:45:14 -06:00
|
|
|
|
|
|
|
/* Memory naming constant strings */
|
2022-10-06 19:08:50 -05:00
|
|
|
constexpr const char* GRID_MEM_INSTANCE_PREFIX = "mem_";
|
|
|
|
constexpr const char* SWITCH_BLOCK_MEM_INSTANCE_PREFIX = "mem_";
|
|
|
|
constexpr const char* CONNECTION_BLOCK_MEM_INSTANCE_PREFIX = "mem_";
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* MEMORY_MODULE_POSTFIX = "_mem";
|
2023-08-01 19:50:03 -05:00
|
|
|
constexpr const char* MEMORY_FEEDTHROUGH_MODULE_POSTFIX = "_feedthrough_mem";
|
2023-08-03 19:34:25 -05:00
|
|
|
constexpr const char* MEMORY_FEEDTHROUGH_DATA_IN_PORT_NAME =
|
|
|
|
"feedthrough_mem_in";
|
|
|
|
constexpr const char* MEMORY_FEEDTHROUGH_DATA_IN_INV_PORT_NAME =
|
|
|
|
"feedthrough_mem_inb";
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* MEMORY_BL_PORT_NAME = "bl";
|
|
|
|
constexpr const char* MEMORY_WL_PORT_NAME = "wl";
|
|
|
|
constexpr const char* MEMORY_WLR_PORT_NAME = "wlr";
|
2020-02-12 20:45:14 -06:00
|
|
|
|
|
|
|
/* Multiplexer naming constant strings */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* MUX_BASIS_MODULE_POSTFIX = "_basis";
|
2022-10-06 19:08:50 -05:00
|
|
|
constexpr const char* GRID_MUX_INSTANCE_PREFIX = "mux_";
|
|
|
|
constexpr const char* SWITCH_BLOCK_MUX_INSTANCE_PREFIX = "mux_";
|
|
|
|
constexpr const char* CONNECTION_BLOCK_MUX_INSTANCE_PREFIX = "mux_";
|
2020-02-12 20:45:14 -06:00
|
|
|
|
2020-05-25 23:15:16 -05:00
|
|
|
/* Decoder naming constant strings */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* DECODER_ENABLE_PORT_NAME = "enable";
|
|
|
|
constexpr const char* DECODER_ADDRESS_PORT_NAME = "address";
|
|
|
|
constexpr const char* DECODER_DATA_IN_PORT_NAME = "data_in";
|
|
|
|
constexpr const char* DECODER_DATA_OUT_PORT_NAME = "data_out";
|
|
|
|
constexpr const char* DECODER_DATA_OUT_INV_PORT_NAME = "data_out_inv";
|
|
|
|
constexpr const char* DECODER_BL_ADDRESS_PORT_NAME = "bl_address";
|
|
|
|
constexpr const char* DECODER_WL_ADDRESS_PORT_NAME = "wl_address";
|
|
|
|
constexpr const char* DECODER_READBACK_PORT_NAME = "readback";
|
|
|
|
constexpr const char* DECODER_DATA_READ_ENABLE_PORT_NAME = "data_out_ren";
|
2020-05-25 23:15:16 -05:00
|
|
|
|
2020-05-17 20:45:27 -05:00
|
|
|
/* Inverted port naming */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* INV_PORT_POSTFIX = "_inv";
|
2020-05-17 20:45:27 -05:00
|
|
|
|
2020-02-12 20:45:14 -06:00
|
|
|
/* Bitstream file strings */
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* BITSTREAM_XML_FILE_NAME_POSTFIX = "_bitstream.xml";
|
2020-02-12 20:45:14 -06:00
|
|
|
|
2023-07-19 00:35:22 -05:00
|
|
|
constexpr const char* DEFAULT_TILE_DIR_NAME = "tile/";
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* DEFAULT_LB_DIR_NAME = "lb/";
|
|
|
|
constexpr const char* DEFAULT_RR_DIR_NAME = "routing/";
|
|
|
|
constexpr const char* DEFAULT_SUBMODULE_DIR_NAME = "sub_module/";
|
2020-07-05 12:39:46 -05:00
|
|
|
|
2022-08-17 16:19:02 -05:00
|
|
|
constexpr const char* VPR_BENCHMARK_OUT_PORT_PREFIX = "out:";
|
|
|
|
constexpr const char* OPENFPGA_BENCHMARK_OUT_PORT_PREFIX = "out_";
|
2021-06-18 17:13:50 -05:00
|
|
|
|
2020-02-12 21:25:05 -06:00
|
|
|
} /* end namespace openfpga */
|
|
|
|
|
2020-02-12 20:45:14 -06:00
|
|
|
#endif
|