⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 native.java

📁 Java Op Processor java vhdl processor
💻 JAVA
字号:
package com.jopdesign.sys;/***	Simulate IO functions of JOP on PC!*/import simhw.*;public class Native {//// Reihenfolge so lassen!!!// ergibt static funktionsnummern://		1 rd//		2 wr//		...//	private static BaseSim hw = new TALSim(); 	public static int rd(int addr) {			return hw.rd(addr);	}	public static void wr(int val, int addr) {		hw.wr(val, addr);	}	/**	*	Simulation of JOP memory.	*/	public static int rdMem(int addr) {			return hw.rdMem(addr);	}	public static void wrMem(int val, int addr) {		hw.wrMem(val, addr);	}	public static int rdIntMem(int addr) { return 1; }	public static void wrIntMem(int val, int addr) { return; }	public static int getSP() { return 1; }	public static void setSP(int val) { return; }	public static int getVP() { return 1; }	public static void setVP(int val) { return; }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -