OpenCores
URL https://opencores.org/ocsvn/or2k/or2k/trunk

Subversion Repositories or2k

[/] [or2k/] [trunk/] [analysis-bin/] [insnanalysis/] [insnanalysis.h] - Rev 22

Compare with Previous | Blame | View Log

/*
  Header for instruction analysis program. 
 
  Have appropriate defines/typedefs for desired instruction set.
 
  Todo: #ifdefs for other instruction sets
 
*/
 
 
 
// OpenRISC 1000 32-bit compiler output analysis settings:
 
#include "stdint.h"
#include "or1k-32-insn.h"
 
// 4 bytes per instruction
#define INSN_SIZE_BYTES 4
 
typedef uint32_t instruction;
 
typedef struct or1k_32_instruction_properties instruction_properties ;
 
#define reset_instruction_properties(x) memset(x, 0, sizeof(instruction_properties))
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.