Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HW Configuration for DE1SOC #37

Closed
SmartRoof opened this issue Jan 2, 2018 · 4 comments
Closed

HW Configuration for DE1SOC #37

SmartRoof opened this issue Jan 2, 2018 · 4 comments

Comments

@SmartRoof
Copy link

Hi, referring to instructions, the best result of AlexNet model executed on De1Soc is 149 ms.
However, the best result i got is just around 450 ms with the following hw configurations:

  • VEC_SIZE = 8
  • LANE_NUM = 4
  • CONV_GP_SIZE_X = 7

I do tried to increase the LANE_NUM to 8. But i got the following error even-though the resources of the device is not fully used up.

"kernel cannot fit into device"

Could you kindly share us the appropriate hw configuration for the VEC_SIZE, LANE_NUM, and CONV_GP_SIZE_X??

Thank you

@doonny
Copy link
Owner

doonny commented Jan 5, 2018

Use the following configurations for DE1-SOC
VEC_SIZE = 8
LANE_NUM = 8
CONV_GP_SIZE_X = 7

the resource utilizations are like this:

Registers: 67,316
Logic utilization: 28,961 / 32,070 ( 90 % ) ( 90 % )
I/O pins: 103 / 457 ( 23 % )
DSP blocks: 73 / 87 ( 84 % )
Memory bits: 2,219,759 / 4,065,280 ( 55 % )
M10K blocks: 397 / 397 ( 100 % )
Actual clock freq: 122.529999912
Kernel fmax: 122.53
1x clock fmax: 122.53
2x clock fmax: 301.2
Highest non-global fanout: 3075

@LCF2016
Copy link

LCF2016 commented Jan 5, 2018

Hi,@doonny could you kindly also share us the appropriate hw configuration of DE10_Standard board?
Thanks a lot.

@zhao-lun
Copy link

zhao-lun commented Jan 5, 2018

Hello prof @doonny , Why DE1-SOC has 32k Logic? Suppose it has 85k Logic element.

@doonny
Copy link
Owner

doonny commented Jan 6, 2018

@Johnnydept Hi, the number is ALM not LE.
@LCF2016 the following configurations should work for DE10 std, but it is not the optimal one.
VEC_SIZE = 16
LANE_NUM = 8
CONV_GP_SIZE_X = 7

@doonny doonny closed this as completed Feb 7, 2018
@0x47 0x47 mentioned this issue Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants