FlyingDutch
Advanced Member level 1
- Joined
- Dec 16, 2017
- Messages
- 458
- Helped
- 45
- Reputation
- 92
- Reaction score
- 55
- Trophy points
- 28
- Location
- Bydgoszcz - Poland
- Activity points
- 5,027
Hello Forum,
I just has got a "Tang Nano 4K" FPGA board wihch has on-board a Gowin chip GW1NSR-LV4C. Here is link to this product:
https://www.aliexpress.com/item/100...=glo2pol&spm=a2g0o.9042311.0.0.27425c0ftZf8Rp
I have installed software for synthesis "Gowin EDA" and download examples of Verilog code from Sipeed Github:
https://github.com/sipeed/TangNano-4K-example
After unzipping I opened the project in "Gowin EDA" - there are used four IP Cores. One of these IP Cores is "video_frame_bufferr.v" - it seems that Gowin IP Cores are encrypted with "base64" code. Here is screenshot from "Gowin EDA" with this IP core open:
And here is text of this file (just begining:
I just entered this file into on-line (on WWW page) "base64" decoder and this is beginning of encrypted block:
Thanks in advance and Regards
I just has got a "Tang Nano 4K" FPGA board wihch has on-board a Gowin chip GW1NSR-LV4C. Here is link to this product:
https://www.aliexpress.com/item/100...=glo2pol&spm=a2g0o.9042311.0.0.27425c0ftZf8Rp
I have installed software for synthesis "Gowin EDA" and download examples of Verilog code from Sipeed Github:
https://github.com/sipeed/TangNano-4K-example
After unzipping I opened the project in "Gowin EDA" - there are used four IP Cores. One of these IP Cores is "video_frame_bufferr.v" - it seems that Gowin IP Cores are encrypted with "base64" code. Here is screenshot from "Gowin EDA" with this IP core open:
--- Updated ---
And here is text of this file (just begining:
Code:
//
//Written by GowinSynthesis
//Product Version "GowinSynthesis V1.9.7.02Beta"
//Tue Jun 01 10:37:23 2021
//Source file index table:
//file0 "\D:/Gowin/Gowin_V1.9.7.02Beta/IDE/ipcore/VFB/data/vfb_top.v"
//file1 "\D:/Gowin/Gowin_V1.9.7.02Beta/IDE/ipcore/VFB/data/vfb_wrapper.vp"
`timescale 100 ps/100 ps
`pragma protect begin_protected
`pragma protect version=1
`pragma protect author="default"
`pragma protect author_info="default"
`pragma protect encrypt_agent="Synplify encryptP1735.pl"
`pragma protect encrypt_agent_info="Synplify encryptP1735.pl Version 1.1"
`pragma protect encoding=(enctype="base64", line_length=76, bytes=256)
`pragma protect key_keyowner="Synplicity",key_keyname="SYNP05_001",key_method="rsa"
`pragma protect key_block
O0Q2VS1uAT+DzYC5YK/2UWC6LUhpHYoFZgv3D649C5lYIkASEVxIi4YMoxMNgoclroFqdDhtJkPO
drQAlexiBGqTaRH6vgcsy2Pc6eUsAPVghfIPxowZL3LJzAMPCYsHchisIdJWYyRVuG6/QKDLh+Be
YqEJSiOw1vkDj1bzfmnicQHEFcDDvR4yA4785GFnTT6dasxd+YLhjI3jOf1b8+g3dJJMXvQRZFZW
kFKlHiwSJSO6sg0Gp6xOh7F8bI/H1FG8cVv7sraqD6WQkDRYJOQ1ICxmzPWbEAj0JupVGg3xaNp7
kvj60wTB0t+bLcSand2URZS2byUR1oc1MD9pcQ==
...
`pragma protect encoding=(enctype="base64", line_length=76, bytes=169440)
`pragma protect data_keyowner="default-ip-vendor"
`pragma protect data_keyname="default-ip-key"
`pragma protect data_method="aes128-cbc"
`pragma protect data_block
+PZe8Qq5bAJmNYVR47hNRj9Yf3WvCyGuewIB5WLloFaaDJz+HhzytZPhcvPszDxyJxRqaEbQNKcN
XRuV8n/8GQr8dFvYlwi34n3PWwraj0aj2U1dA6LHS5TrBHjH5rvzRHg89nuXCr2Yo/DrbQ016Ira
E8F4wl1KVelOudwH2jJkuKLpn00JLxDDZh5WEr8XKu8ZGZ3cUZcf62jJDREa4nhN4mI1vCMk4Jlc
7e8AMF94FWM+iBL7rEoXbnKeuo9nwLG6MNx6HdUkPRsa7v56p/i0akzyp03ZmId3BW/GICdZBivc
...
I just entered this file into on-line (on WWW page) "base64" decoder and this is beginning of encrypted block:
It seems that there are binary data (this encrypted block). My question is: Is IP Core encrypted with "base64" in order to avoid errors during opening this file in "Gowin EDA" editor? And second question is: What are this big binary data - is it a netlist of FPGA primitives of Gowin FPGA or maybe there is more kind of objects? I am very curious what is stored in these IP Cores?^
lf5QMF?Xu!{bVr<r'jhF4
]
t[ؗ}[
ڏFM]KxDx<{
m
5x]JUN2dM /fV*Qh
xMb5#$\�0_xc>Jnrg0z$=zjLM٘wo 'Y+q @$$G%l\_~op}k3H3+F9RI~6k(.kmohF3qfXG%F;r)Pl7tAM2*2TWԚ\oB&3.5P꣣PJjjX]�̏8wxTBEH$s&0,Ni''F=E}%Mi:R<5:VB>27c
!oިʰN~ bť,'tLGoL~L?ƹ!ע+wy=pͬ:*Qo;jN 7g/5W2�LA)2?49H
7cV>DOGCLv2+HX {|NpEYɮ-,3_àh+`=%.3PPŊ&Q}L=oDk%K%H@M|gLmˑ;5GJ(_R!1x'XKM:KhTncv22Vȵ.!YOEWՏ?{ӟTC|->msx57(sW+,`AU"V@ђNw�cΨ6__Cœ21*tH"Yt[,a:|_<W0r0^W5i&LlӼr-%j䩊e)ޑ{]c-4=8vsj1Y~O;ZFXRU
Thanks in advance and Regards