当前位置: 首页 > news >正文

国外html5做的音乐网站做高端网站建设公司

国外html5做的音乐网站,做高端网站建设公司,关键词如何排名在首页,阿里logo设计网站练习题4.3 p.254 \sim\seq\seq-full.hcl文件内已经说的很清楚了哪些不能更改,哪些是题目要求更改的控制逻辑块. 依据家庭作业4.51的答案,在seq-full.hcl文件内更改对应的HCL描述即可 以下答案注释了#changed的就是更改部分 #/* $begin seq-all-hcl */ ######################… 练习题4.3 p.254 \sim\seq\seq-full.hcl文件内已经说的很清楚了哪些不能更改,哪些是题目要求更改的控制逻辑块. 依据家庭作业4.51的答案,在seq-full.hcl文件内更改对应的HCL描述即可 以下答案注释了#changed的就是更改部分 #/* $begin seq-all-hcl */ #################################################################### # HCL Description of Control for Single Cycle Y86-64 Processor SEQ # # Copyright (C) Randal E. Bryant, David R. OHallaron, 2010 # ###################################################################### Your task is to implement the iaddq instruction ## The file contains a declaration of the icodes ## for iaddq (IIADDQ) ## Your job is to add the rest of the logic to make it work#################################################################### # C Includes. Dont alter these # ####################################################################quote #include stdio.h quote #include isa.h quote #include sim.h quote int sim_main(int argc, char *argv[]); quote word_t gen_pc(){return 0;} quote int main(int argc, char *argv[]) quote {plusmode0;return sim_main(argc,argv);}#################################################################### # Declarations. Do not change/remove/delete any of these # ######################################################################### Symbolic representation of Y86-64 Instruction Codes ############# wordsig INOP I_NOP wordsig IHALT I_HALT wordsig IRRMOVQ I_RRMOVQ wordsig IIRMOVQ I_IRMOVQ wordsig IRMMOVQ I_RMMOVQ wordsig IMRMOVQ I_MRMOVQ wordsig IOPQ I_ALU wordsig IJXX I_JMP wordsig ICALL I_CALL wordsig IRET I_RET wordsig IPUSHQ I_PUSHQ wordsig IPOPQ I_POPQ # Instruction code for iaddq instruction wordsig IIADDQ I_IADDQ ##### Symbolic represenations of Y86-64 function codes ##### wordsig FNONE F_NONE # Default function code##### Symbolic representation of Y86-64 Registers referenced explicitly ##### wordsig RRSP REG_RSP # Stack Pointer wordsig RNONE REG_NONE # Special value indicating no register##### ALU Functions referenced explicitly ##### wordsig ALUADD A_ADD # ALU should add its arguments##### Possible instruction status values ##### wordsig SAOK STAT_AOK # Normal execution wordsig SADR STAT_ADR # Invalid memory address wordsig SINS STAT_INS # Invalid instruction wordsig SHLT STAT_HLT # Halt instruction encountered##### Signals that can be referenced by control logic #################### ##### Fetch stage inputs ##### wordsig pc pc # Program counter ##### Fetch stage computations ##### wordsig imem_icode imem_icode # icode field from instruction memory wordsig imem_ifun imem_ifun # ifun field from instruction memory wordsig icode icode # Instruction control code wordsig ifun ifun # Instruction function wordsig rA ra # rA field from instruction wordsig rB rb # rB field from instruction wordsig valC valc # Constant from instruction wordsig valP valp # Address of following instruction boolsig imem_error imem_error # Error signal from instruction memory boolsig instr_valid instr_valid # Is fetched instruction valid?##### Decode stage computations ##### wordsig valA vala # Value from register A port wordsig valB valb # Value from register B port##### Execute stage computations ##### wordsig valE vale # Value computed by ALU boolsig Cnd cond # Branch test##### Memory stage computations ##### wordsig valM valm # Value read from memory boolsig dmem_error dmem_error # Error signal from data memory#################################################################### # Control Signal Definitions. # #################################################################################### Fetch Stage #################################### Determine instruction code word icode [imem_error: INOP;1: imem_icode; # Default: get from instruction memory ];# Determine instruction function word ifun [imem_error: FNONE;1: imem_ifun; # Default: get from instruction memory ];bool instr_valid icode in { INOP, IHALT, IRRMOVQ, IIRMOVQ, IRMMOVQ, IMRMOVQ,IOPQ, IJXX, ICALL, IRET, IPUSHQ, IPOPQ, IIADDQ};#changed# Does fetched instruction require a regid byte? bool need_regids icode in { IRRMOVQ, IOPQ, IPUSHQ, IPOPQ, IIRMOVQ, IRMMOVQ, IMRMOVQ , IIADDQ};#changed# Does fetched instruction require a constant word? bool need_valC icode in { IIRMOVQ, IRMMOVQ, IMRMOVQ, IJXX, ICALL , IIADDQ}};#changed################ Decode Stage ##################################### What register should be used as the A source? word srcA [icode in { IRRMOVQ, IRMMOVQ, IOPQ, IPUSHQ } : rA;icode in { IPOPQ, IRET } : RRSP;1 : RNONE; # Dont need register ];## What register should be used as the B source? word srcB [icode in { IOPQ, IRMMOVQ, IMRMOVQ, IIADDQ } : rB;#changedicode in { IPUSHQ, IPOPQ, ICALL, IRET } : RRSP;1 : RNONE; # Dont need register ];## What register should be used as the E destination? word dstE [icode in { IRRMOVQ } Cnd : rB;icode in { IIRMOVQ, IOPQ, IIADDQ} : rB;#changedicode in { IPUSHQ, IPOPQ, ICALL, IRET } : RRSP;1 : RNONE; # Dont write any register ];## What register should be used as the M destination? word dstM [icode in { IMRMOVQ, IPOPQ } : rA;1 : RNONE; # Dont write any register ];################ Execute Stage ##################################### Select input A to ALU word aluA [icode in { IRRMOVQ, IOPQ } : valA;icode in { IIRMOVQ, IRMMOVQ, IMRMOVQ , IIADDQ} : valC;#changedicode in { ICALL, IPUSHQ } : -8;icode in { IRET, IPOPQ } : 8;# Other instructions dont need ALU ];## Select input B to ALU word aluB [icode in { IRMMOVQ, IMRMOVQ, IOPQ, ICALL, IPUSHQ, IRET, IPOPQ , IIADDQ} : valB;#changedicode in { IRRMOVQ, IIRMOVQ } : 0;# Other instructions dont need ALU ];## Set the ALU function word alufun [icode IOPQ : ifun;1 : ALUADD; ];## Should the condition codes be updated? bool set_cc icode in { IOPQ , IIADDQ};#changed################ Memory Stage ##################################### Set read control signal bool mem_read icode in { IMRMOVQ, IPOPQ, IRET };## Set write control signal bool mem_write icode in { IRMMOVQ, IPUSHQ, ICALL };## Select memory address word mem_addr [icode in { IRMMOVQ, IPUSHQ, ICALL, IMRMOVQ } : valE;icode in { IPOPQ, IRET } : valA;# Other instructions dont need address ];## Select memory input data word mem_data [# Value from registericode in { IRMMOVQ, IPUSHQ } : valA;# Return PCicode ICALL : valP;# Default: Dont write anything ];## Determine instruction status word Stat [imem_error || dmem_error : SADR;!instr_valid: SINS;icode IHALT : SHLT;1 : SAOK; ];################ Program Counter Update ############################## What address should instruction be fetched atword new_pc [# Call. Use instruction constanticode ICALL : valC;# Taken branch. Use instruction constanticode IJXX Cnd : valC;# Completion of RET instruction. Use value from stackicode IRET : valM;# Default: Use incremented PC1 : valP; ]; #/* $end seq-all-hcl */
http://www.hkea.cn/news/14477137/

相关文章:

  • 开发网站需要问什么wordpress 后台登陆界面
  • 网站的特征包括哪些方面潍坊专职消防员待遇
  • 网站教育培训机构十大排名网页游戏排行榜2022前十名最新排名图片
  • 快速做彩平图得网站全网最低价查询网站
  • 模块化网站建设一般多少钱互联网营销策略有哪些
  • 企业网站建设项目计划书免费网站免费在线观看
  • 公众号开发是不是网站开发云南小程序定制开发
  • 幻灯片网站源码互联网网络营销外包
  • vs做的网站如何wordpress 地图
  • 一起做业网站登录网站品牌推广策略
  • 电子商务网站建设医院有关页面设计模板
  • 网站空间查询做网站用什么框架
  • 做网站跟做APP哪个容易WordPress添加前台投稿插件
  • 定西市小企业网站建设建设美术网站建设
  • 精品网站建设费用 找磐石网络一流如东住房和城乡建设局网站
  • 手机版网站开发框架赣州做公司网站
  • 比较好的网页模板网站178软文网
  • 做网站需要要多少钱ai制作海报
  • 南京网站建设开发天津建设工程评标专家信息网
  • 济南建站公司电话房子降价最新消息
  • 简述网站的建设流程图软文新闻发布网站
  • 萍乡建设网站南昌网站建设招聘
  • 网站建设技术支持包括哪些网站后台word编辑器
  • 网站建设简单百度推广渠道商
  • 学生网站做兼职国内企业邮箱
  • 什么网站做海报AWS免费套餐做网站可以吗
  • 网站的搜索框如何做wordpress 页脚声明
  • 泉州网站seo外包公司wordpress 指定文章链接
  • 专业的河南网站建设公司排名长安响应式网站建设
  • 建设部网站最新消息宁波网站制作首推蓉胜网络好