适合最新的Makefile
This commit is contained in:
parent
325e97a759
commit
7a8d7e8956
@ -6,89 +6,20 @@
|
|||||||
|
|
||||||
## 快速开始
|
## 快速开始
|
||||||
|
|
||||||
|
`LAB` :实验序号,可选值[1,2,3,4]
|
||||||
|
|
||||||
### 第一次编译
|
### 第一次编译
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make all GENLIB=1
|
make all LAB=1 GENLIB=1
|
||||||
```
|
```
|
||||||
|
|
||||||
### 第二次编译
|
### 第二次编译
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make all GENLIB=0
|
make all LAB=1 GENLIB=0
|
||||||
```
|
```
|
||||||
|
|
||||||
## 运行结果
|
|
||||||
|
|
||||||
```
|
|
||||||
Top Level Modules:
|
|
||||||
testbench
|
|
||||||
TimeScale is 1 ns / 1 ps
|
|
||||||
|
|
||||||
Note-[PC_SHARED] Reusing shared partition
|
|
||||||
Reusing partition '_vcs_pc_package_' from shared library './partitionlib'.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_SHARED] Reusing shared partition
|
|
||||||
Reusing partition 'uvm_pkg' from shared library './partitionlib'.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_SHARED] Reusing shared partition
|
|
||||||
Reusing partition 'counter_a' from shared library './partitionlib'.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Warning-[PC_NOT_SHARED] Cannot reuse shared partition
|
|
||||||
Cannot reuse partition 'counter_b' from shared library './partitionlib'
|
|
||||||
|
|
||||||
There are additional signals that are now targets of hierarchical
|
|
||||||
references.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_GEN_PARTITION] Generating partition
|
|
||||||
Generating new partition 'counter_b' at
|
|
||||||
'./partitionlib_test2/counter_b_ipFRWc'.
|
|
||||||
|
|
||||||
|
|
||||||
Warning-[PC_NOT_SHARED] Cannot reuse shared partition
|
|
||||||
Cannot reuse partition 'counter_c' from shared library './partitionlib'
|
|
||||||
|
|
||||||
There are additional signals that are now targets of hierarchical
|
|
||||||
references.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_GEN_PARTITION] Generating partition
|
|
||||||
Generating new partition 'counter_c' at
|
|
||||||
'./partitionlib_test2/counter_c_chn5zb'.
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_SHARED] Reusing shared partition
|
|
||||||
Reusing partition 'top' from shared library './partitionlib'.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Warning-[PC_NOT_SHARED] Cannot reuse shared partition
|
|
||||||
Cannot reuse partition 'TB.testbench' from shared library './partitionlib'
|
|
||||||
|
|
||||||
Modified Design Units :
|
|
||||||
TB.testbench : "./rtl/testbench.sv", 20
|
|
||||||
Type of targets of hierarchical references in this partition have changed.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Note-[PC_RECOMPILE] Recompiling partition
|
|
||||||
Recompiling partition 'TB.testbench' because of following changes.
|
|
||||||
|
|
||||||
Modified Design Units :
|
|
||||||
TB.testbench : "./rtl/testbench.sv", 20
|
|
||||||
```
|
|
||||||
|
|
||||||
检查log可以发现,穿层信号变化涉及到的模块`counter_b、counter_c`都无法reuse。
|
|
||||||
|
|
||||||
## 结论
|
## 结论
|
||||||
|
|
||||||
| 序号 | 条件 | 现象 | 结论 | 备注 |
|
| 序号 | 条件 | 现象 | 结论 | 备注 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user