# lab sequential -- serial2parallel
comparing resource
---
- HLS

- Verilog

comparing timing
---
- HLS
- timing constraint

- timing report

- Verilog
- timing constraint

- timing report

comparing waveform
---
- HLS

- Verilog

key point
---
1. It can be seen that the resource usage is less when writing in Verilog, and the number of flip-flops used can be accurately assessed through the Verilog code. This is unlike HLS, where it's difficult to directly determine the flip-flop usage from the HLS code.
2. It can be observed that the logic delay in the HLS version is greater than that in the Verilog version. Therefore, HLS WNS < Verilog WNS, and HLS WHS > Verilog WHS.
3. WNS stands for worst setup time slack, which indicates how much time is remaining until the next positive edge after the computation is complete, in the worst-case scenario.
4. WHS stands for worst hold time slack, which represents how long the value will hold during the positive edge in the worst-case scenario.
###### tags: `serial2parallel` `lab sequential`