SILICON
Loading...
Searching...
No Matches
cells.hpp
Go to the documentation of this file.
1/*
2 Copyright (c) 2026. Giulio Cocconi
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include <string_view>
21
23
24inline constexpr std::string_view ROM = "SILICON_ROM";
25inline constexpr std::string_view LOGIC = "SILICON_LOGIC";
26inline constexpr std::string_view COMPARE = "SILICON_COMPARE";
27inline constexpr std::string_view SHIFT = "SILICON_SHIFT";
28inline constexpr std::string_view GATE = "SILICON_GATE";
29inline constexpr std::string_view MUX = "SILICON_MUX";
30inline constexpr std::string_view DFF = "SILICON_DFF";
31inline constexpr std::string_view DFFE = "SILICON_DFFE";
32inline constexpr std::string_view DLATCH = "SILICON_DLATCH";
33inline constexpr std::string_view DFFSR = "SILICON_DFFSR";
34inline constexpr std::string_view DFFSRE = "SILICON_DFFSRE";
35inline constexpr std::string_view JKFF = "SILICON_JKFF";
36inline constexpr std::string_view HALF_ADDER = "SILICON_HALF_ADDER";
37inline constexpr std::string_view FULL_ADDER = "SILICON_FULL_ADDER";
38inline constexpr std::string_view ADDER = "SILICON_ADDER";
39inline constexpr std::string_view MULTIPLIER = "SILICON_MULTIPLIER";
40inline constexpr std::string_view DIVIDER = "SILICON_DIVIDER";
41inline constexpr std::string_view PIPO = "SILICON_PIPO";
42inline constexpr std::string_view PISO = "SILICON_PISO";
43inline constexpr std::string_view SIPO = "SILICON_SIPO";
44inline constexpr std::string_view SISO = "SILICON_SISO";
45
46} // namespace SILICON::yosys::cells
47
49
51inline constexpr std::string_view BINARY_DOCUMENT = "silicon_mem_slug";
52
53} // namespace SILICON::yosys::attributes
constexpr std::string_view BINARY_DOCUMENT
Definition cells.hpp:51
constexpr std::string_view ADDER
Definition cells.hpp:38
constexpr std::string_view MUX
Definition cells.hpp:29
constexpr std::string_view COMPARE
Definition cells.hpp:26
constexpr std::string_view GATE
Definition cells.hpp:28
constexpr std::string_view LOGIC
Definition cells.hpp:25
constexpr std::string_view PISO
Definition cells.hpp:42
constexpr std::string_view DFFSRE
Definition cells.hpp:34
constexpr std::string_view DIVIDER
Definition cells.hpp:40
constexpr std::string_view SISO
Definition cells.hpp:44
constexpr std::string_view DFFSR
Definition cells.hpp:33
constexpr std::string_view SHIFT
Definition cells.hpp:27
constexpr std::string_view PIPO
Definition cells.hpp:41
constexpr std::string_view JKFF
Definition cells.hpp:35
constexpr std::string_view DLATCH
Definition cells.hpp:32
constexpr std::string_view MULTIPLIER
Definition cells.hpp:39
constexpr std::string_view FULL_ADDER
Definition cells.hpp:37
constexpr std::string_view SIPO
Definition cells.hpp:43
constexpr std::string_view DFF
Definition cells.hpp:30
constexpr std::string_view DFFE
Definition cells.hpp:31
constexpr std::string_view HALF_ADDER
Definition cells.hpp:36
constexpr std::string_view ROM
Definition cells.hpp:24