OpenASIP  2.0
Namespaces | Variables
NetlistGenerator.cc File Reference
#include <boost/format.hpp>
#include <iostream>
#include <set>
#include <string>
#include <utility>
#include "ICDecoderGeneratorPlugin.hh"
#include "Netlist.hh"
#include "NetlistBlock.hh"
#include "NetlistGenerator.hh"
#include "NetlistPort.hh"
#include "NetlistPortGroup.hh"
#include "Parameter.hh"
#include "ProcessorGenerator.hh"
#include "SignalGroupTypes.hh"
#include "FUImplementationLocation.hh"
#include "MachineImplementation.hh"
#include "ControlUnit.hh"
#include "FUPort.hh"
#include "FunctionUnit.hh"
#include "HWOperation.hh"
#include "ImmediateUnit.hh"
#include "Machine.hh"
#include "SpecialRegisterPort.hh"
#include "FUArchitecture.hh"
#include "FUEntry.hh"
#include "FUExternalPort.hh"
#include "FUImplementation.hh"
#include "FUPortImplementation.hh"
#include "HDBManager.hh"
#include "HDBRegistry.hh"
#include "RFArchitecture.hh"
#include "RFEntry.hh"
#include "RFExternalPort.hh"
#include "RFImplementation.hh"
#include "RFPortImplementation.hh"
#include "BinaryEncoding.hh"
#include "Conversion.hh"
#include "MapTools.hh"
#include "MathTools.hh"
#include "ProGeContext.hh"
#include "MemoryBusInterface.hh"
#include "GeneratableFUNetlistBlock.hh"
#include "ProGeTools.hh"
Include dependency graph for NetlistGenerator.cc:

Go to the source code of this file.

Namespaces

 ProGe
 

Variables

const string TOPLEVEL_BLOCK_DEFAULT_NAME = "toplevel"
 
const string CLOCK_PORT_NAME = "clk"
 
const string RESET_PORT_NAME = "rstx"
 
const string RA_OUT_PORT_NAME = "ra_out"
 
const string BUSY_PORT_NAME = "busy"
 
const string READ_ENABLE_PORT_NAME = "imem_en_x"
 
const string ADDRESS_PORT_NAME = "imem_addr"
 
const string DATA_PORT_NAME = "imem_data"
 
const string PC_IN_PORT_NAME = "pc_in"
 
const string RA_IN_PORT_NAME = "ra_in"
 
const string FETCH_PORT_NAME = "fetch_en"
 
const string LOCK_PORT_NAME = "lock"
 
const string FETCHBLOCK_PORT_NAME = "fetchblock"
 
const string PC_READ_PORT_NAME = "pc_r"
 
const string PC_LOAD_PORT_NAME = "pc_load"
 
const string RA_LOAD_PORT_NAME = "ra_load"
 
const string PC_OPCODE_PORT_NAME = "pc_opcode"
 
const string INSTRUCTIONWORD_PORT_NAME = "instructionword"
 
const string GLOBAL_LOCK_PORT_NAME = "glock"
 
const string LOCK_REQUEST_PORT_NAME = "lock_r"
 
const string LOCK_STATUS_PORT_NAME = "locked"
 
const string IMEMADDRWIDTH = "IMEMADDRWIDTH"
 
const string IMEMWIDTHFORMULA = "IMEMWIDTHINMAUS*IMEMMAUWIDTH"
 
const string INSTRUCTIONWIDTH = "INSTRUCTIONWIDTH"
 
const string IFETCH_BLOCK_NAME = "ifetch"
 
const string DECOMPRESSOR_BLOCK_NAME = "decompressor"
 
const string DECODER_BLOCK_NAME = "decoder"
 
const string CALL = "CALL"
 
const string JUMP = "JUMP"
 
const string FU_NAME_PREFIX = "fu_"
 
const string RF_NAME_PREFIX = "rf_"
 
const string IU_NAME_PREFIX = "iu_"
 
const TCEString INSTANCE_SUFFIX = "_instance"
 

Detailed Description

Implementation of NetlistGenerator class.

Author
Lasse Laasonen 2005 (lasse.laasonen-no.spam-tut.fi)
Otto Esko 2008 (otto.esko-no.spam-tut.fi)
Note
rating: red

Definition in file NetlistGenerator.cc.

Variable Documentation

◆ ADDRESS_PORT_NAME

const string ADDRESS_PORT_NAME = "imem_addr"

Definition at line 100 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ BUSY_PORT_NAME

const string BUSY_PORT_NAME = "busy"

Definition at line 98 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ CALL

const string CALL = "CALL"

Definition at line 124 of file NetlistGenerator.cc.

◆ CLOCK_PORT_NAME

const string CLOCK_PORT_NAME = "clk"

Definition at line 95 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ DATA_PORT_NAME

const string DATA_PORT_NAME = "imem_data"

Definition at line 101 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ DECODER_BLOCK_NAME

const string DECODER_BLOCK_NAME = "decoder"

Definition at line 122 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ DECOMPRESSOR_BLOCK_NAME

const string DECOMPRESSOR_BLOCK_NAME = "decompressor"

Definition at line 121 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ FETCH_PORT_NAME

const string FETCH_PORT_NAME = "fetch_en"

Definition at line 104 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ FETCHBLOCK_PORT_NAME

const string FETCHBLOCK_PORT_NAME = "fetchblock"

Definition at line 106 of file NetlistGenerator.cc.

Referenced by DefaultICDecoderGenerator::addRV32MicroCode().

◆ FU_NAME_PREFIX

const string FU_NAME_PREFIX = "fu_"

Definition at line 127 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addFUToNetlist().

◆ GLOBAL_LOCK_PORT_NAME

const string GLOBAL_LOCK_PORT_NAME = "glock"

Definition at line 112 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ IFETCH_BLOCK_NAME

const string IFETCH_BLOCK_NAME = "ifetch"

Definition at line 120 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ IMEMADDRWIDTH

const string IMEMADDRWIDTH = "IMEMADDRWIDTH"

Definition at line 116 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ IMEMWIDTHFORMULA

const string IMEMWIDTHFORMULA = "IMEMWIDTHINMAUS*IMEMMAUWIDTH"

Definition at line 117 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ INSTANCE_SUFFIX

const TCEString INSTANCE_SUFFIX = "_instance"

Definition at line 131 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::checkInstanceName().

◆ INSTRUCTIONWIDTH

const string INSTRUCTIONWIDTH = "INSTRUCTIONWIDTH"

Definition at line 118 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ INSTRUCTIONWORD_PORT_NAME

const string INSTRUCTIONWORD_PORT_NAME = "instructionword"

Definition at line 111 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ IU_NAME_PREFIX

const string IU_NAME_PREFIX = "iu_"

◆ JUMP

const string JUMP = "JUMP"

Definition at line 125 of file NetlistGenerator.cc.

◆ LOCK_PORT_NAME

const string LOCK_PORT_NAME = "lock"

Definition at line 105 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ LOCK_REQUEST_PORT_NAME

const string LOCK_REQUEST_PORT_NAME = "lock_r"

Definition at line 113 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ LOCK_STATUS_PORT_NAME

const string LOCK_STATUS_PORT_NAME = "locked"

Definition at line 114 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ PC_IN_PORT_NAME

const string PC_IN_PORT_NAME = "pc_in"

Definition at line 102 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ PC_LOAD_PORT_NAME

const string PC_LOAD_PORT_NAME = "pc_load"

Definition at line 108 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ PC_OPCODE_PORT_NAME

const string PC_OPCODE_PORT_NAME = "pc_opcode"

Definition at line 110 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ PC_READ_PORT_NAME

const string PC_READ_PORT_NAME = "pc_r"

Definition at line 107 of file NetlistGenerator.cc.

◆ RA_IN_PORT_NAME

const string RA_IN_PORT_NAME = "ra_in"

Definition at line 103 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ RA_LOAD_PORT_NAME

const string RA_LOAD_PORT_NAME = "ra_load"

Definition at line 109 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ RA_OUT_PORT_NAME

const string RA_OUT_PORT_NAME = "ra_out"

Definition at line 97 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ READ_ENABLE_PORT_NAME

const string READ_ENABLE_PORT_NAME = "imem_en_x"

Definition at line 99 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ RESET_PORT_NAME

const string RESET_PORT_NAME = "rstx"

Definition at line 96 of file NetlistGenerator.cc.

Referenced by ProGe::NetlistGenerator::addGCUToNetlist().

◆ RF_NAME_PREFIX

const string RF_NAME_PREFIX = "rf_"

◆ TOPLEVEL_BLOCK_DEFAULT_NAME

const string TOPLEVEL_BLOCK_DEFAULT_NAME = "toplevel"

Definition at line 94 of file NetlistGenerator.cc.