EE_DSnP 板


LINE

src/Makefile.in ※ 引述《ric2k1 (Ric)》之铭言: 主要是关於 error message 的更正... ※ 引述《ric2k1 (Ric)》之铭言: ※ 引述《ric2k1 (Ric)》之铭言: 1. [3:50pm, 05/25/09] 新增 CIRRead command 之说明, 如黄色字体所显示. 3.1 Command "CIRRead" Usage: CIRRead <(string fileName)> [-Replace] Description: Read the circuit from the file "fileName" and store it in the global variable (e.g. cirMgr). If the circuit has been read, issue an error "Error: circuit already exists!!" unless the option "-Replace" is issued. In such case, delete the original circuit, create a new one, and print out the message "Note: original circuit is replaced...". Note that the original circuit will be deleted even if the new circuit construction fails. No warning or error message is needed if "-Replace" is used in the first construction of the circuit. Example: cir> cirread test.cir // read in the circuit description file "test.cir" cir> cirr -rep kk.cir // read in the circuit description file "kk.cir" // and replace the original circuit (Word & PDF file will be updated later) // 请见底下的更新版本 2. [9:20pm, 05/26/09] Circuit parsing error message update The following items are added as guarded error message: Line 2: PI "G3" is redefined!! Line 2: PI "G6" is defined but not used!! Line 3: PO "G23" is undefined!! Line 52: Extra input for INV gate "19GAT_B"!! Line 57: Missing name for OR gate!! Modified error message: Line 49: Missing input for AND gate "19GAT"!! Please refer to the updated .doc/.pdf file for details. 3. [9:20pm, 05/26/09] Update on Section 2 "Circuit Description File" The ".cir", ".input", ".output", gate descriptions, and ".end" sections are strictly in the above order, and you do not need check if any of them is missing. (.doc and .pdf files have been updated) 4. [9:00pm, 05/28/09] Error message updated 基於语意 & implementation 上的考量, error message 更新如下. Cannot open design "c17.kk"!! // 不变 Line 1: Missing circuit name!! // 新增, 如果 .cir 後面没有接名字, 就直接接 .input, 应该要 output error Line 2: Gate "G3" is redefined!! // 原先: Line 2: PI "G3" is redefined!! // 因为一个 gate 被 redefined, 应该 show 的是被 redefined 的那一行, // 但是 gate 的 type 又是原先的那行 define 的, 所以印起来会有点奇怪, // 所以将 type 去掉. // 例如说: // (line 12) and 16GAT 2GAT // (line 13) or 16GAT 8GAT // 就直接 output --- // Line 13: Gate "16GAT" is redefined!! // 就好了! // // 另外, 注意: 对於 PO gate redefined 的 error, 要 output: // Line 5: Gate "23GAT$PO" is redefined!! // 或是: // Line 5: Gate "23GAT" is redefined!! // 都可以, depend on your implementation Line 2: PI "G6" is defined but not used!! // 这个 rule 去掉. // 原先本来是想说如果有一个 PI 没有接到任何人的话, 就 output 这个 message, // 但是问题是如果 circuit parse 的时候有文法错误, 或是连线不合理, // circuit netlist 是不完整的, 这样子其实并不容易定义什麽样的 PI 是 // 没有接到别人, 也不容易检查. // 所以乾脆去掉这个 rule. Line 3: PO "G23" is undefined!! // 这个不变, 就是检查一下被定义成 PO 的 signal 是否在 gate def section // 是否有被定义成其他的 gate Line 12: Undefined gate "15GAT" in the circuit!! // 这个不变, 就是检查一下是否有 signal 被宣告成别人的 fanin, // 但他自己并没有被定义成任何 gate type Line 38: Gate "16GAT" is redefined!! // 这个不变. 同上, 不用 specify gate type. // // 注意: 昨天的 ref program "Gate" 不小心写成 "gate" 了... Line 49: Missing input for AND gate "19GAT"!! Line 52: Extra input for INV gate "19GAT_B"!! // 这两个不变, 昨天上传的 ref program 有误, 已更正 Line 57: Missing gate name!! // 原先: Line 57: Missing name for OR gate!! // 此 error 发生的原因就是 有 gate type 的 keyword, 但是下面接的 // 又是另外一个 keyword, 而非可以作为 gate name 的 string. // 不过由於 yacc grammar rule 的关系, 所以我决定不 report gate type, // 请大家配合一下! (ref programs, .doc/.pdf files, and tests/errors/C17-err1.cir are NOW being uploaded) 5. [10:20pm, 05/28/09] src/Makefile.in CFLAGS = -O3 -Wall -DTA_KB_SETTING $(PKGFLAG) CFLAGS = -g -Wall -DTA_KB_SETTING $(PKGFLAG) 原先忘记放 "-DTA_KB_SETTING" 而且将 -O3 放在下面... (这样子你们将无法 debug) hw6.tgz 以上传完毕!!!!!!!!!!! --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.21.241 --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.224.47.190 --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.224.47.190 --



※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.224.47.190







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Boy-Girl站内搜寻

TOP