作者ric2k1 (Ric)
看板EE_DSnP
标题Re: [建议] Final project grading 注意事项
时间Tue Jan 18 03:08:35 2011
※ 引述《ric2k1 (Ric)》之铭言:
(新增/修订的部分用
水蓝色标示)
说明一下我们对於期末专题大致的评分原则,同学们可以自行斟酌参考。
我会选择性的挑一些(或全部,或 combine)项目来测试,每个 dofile 随着重要性
有一定的占分。
请注意,spec 有说明,分数分配为:
Report 15% (Please do spend time to write a good report!!)
Implementation 85%
- Circuit parsing and reporting: 40%
(correctness: 75%, error detection: 15%, performance: 10%)
- Strash: 10% (correctness: 90%, performance: 10%)
- Simulation: 20% (correctness: 70%, performance: 30%)
- Fraig: 25% (correctness: 50%, performance: 50%)
Bonus Up to extra 10%
1. CIRRead <(string fileName)> [-Replace]
Major tests:
- Can read in correct aag files correctly (tested with "cirp")
- Able to handle large circuit parsing
- Able to re-read circuits (-replace)
Minor tests:
- Able to detect if there's error in aag file
- Runtime and memory efficiency
2. CIRPrint [-Summary | -Netlist | -PI | -PO | -FLoating | -FECpairs]
Major tests:
- Able to correctly report "-summary", "-PI" and "-PO" BEFORE optimization
- Able to report "-Netlist" anytime without crashes.
- Given a circuit with no structurally equivalent gates, able to report
"-netlist" and "-floating" consistently with ref prog BEFORE performing
"strash" and "fraig".
- Given a small circuit (#gates < 100), able to report ALL the FEC pairs.
(Tested with "CIRSimulate" command)
Minor tests:
- Able to report "-floating" and "-fec" anytime without crashes.
3. CIRGate <<(int gateId)> [<-FANIn | -FANOut><(int level)>]>
Major tests:
- Given a circuit with no structurally equivalent gates, able to report
fanins consistently with ref prog BEFORE "strash" and "fraig".
- Able to report fanouts without crashes.
- Able to do "CIRG" (no option) anytime without crashes.
Minor tests:
- Given a large circuit, able to report deep fanins/fanouts without crashes.
4. CIRSTRash
Major tests:
- Given some very small circuits (#gates < 10), able to perform ALL the
trivial strash operations.
- Given a circuit composed by AND(f, !f) of two structurally identical
circuit, able to simplify it into a constant 0.
- Should be reasonably fast (linear time complexity)
- myHash.cpp is implemented correctly (tested by a separate program).
Minor tests:
- Able to perform strash on large circuit.
5. CIRSimulate <-Random | -File <string patternFile>>
[-Output (string logFile)]
Major tests:
- Given a small circuit (#gates < 100), able to identify ALL the FEC pairs
by random simulation. (Tested with "CIRGate" command)
- Given a large file, able to simulate from pattern files and write the
output to file correctly.
- Given a medium size (~1000 gates) file, able to perform simulation
efficiently.
Minor tests:
- Able to repeat the simulation commands.
6. CIRFraig
Major tests:
- Given a circuit composed by two functionally equivalent circuits (e.g.
sim10.aag), able to EFFICIENTLY simplify it into a constant WITHOUT
performing strash.
- Given a large circuit, able to preform fraig efficiently.
Minor tests:
- Given a large circuit, able to repeatedly perform "cirstrash" -->
"cirsim -random" --> "cirfraig" at least 3 times to simplify the circuit.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.36.54.188
1F:→ ric2k1:等一下来说明一下 "report" 的要求 01/15 00:30
※ 编辑: ric2k1 来自: 114.36.62.203 (01/16 02:37)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 114.36.62.203
2F:推 ckmarkoh:fraig指令执行之後不能有strash的动作吗? 01/18 08:13
3F:→ ckmarkoh:可是若为了增加效率 每化简一个就会做strash和optimize 01/18 08:14
4F:→ ckmarkoh:是不被允许的? 01/18 08:14