===================
== lxulxu's blog ==
===================
Hello there

Tcl Cheat Sheet

cheat-sheet tcl
  • 基础语法
 1puts "Hello World"#输出
 2set x [expr 1 == 2 ? 1 : 2]#设置变量;三元运算符
 3[exec ls]#调用子进程
 4
 5#if
 6if { $x < 2} { ... }
 7elseif { $x == 1 } { ... }
 8
 9#while
10while { $x < 2 } {
11	incr x
12}
13
14#for
15for { set i 0 } { $i < 5 } { incr i } { ... }
16
17#switch
18switch $x {
19	1 { ... }
20	2 { ... }
21	default { ... }
22}
  • 字符串
 1set s1 "_Hello_World_"
 2set s2 "_"
 3
 4[string length $s1]
 5[string index $s1 0]
 6[string range $s1 1 end]
 7append s1 …

许可管理

IEEE xilinx

IEEE Std 1735-2014 Ch8 一些整理

简介

定义

1`protect license_proxyname="acme_proxy"
2`protect license_attributes="USER,MAC,PROXYINFO=1.2"
3`protect license_symmetric_key_method="aes128-cbc"
4`protect license_public_key_method="rsa"
5`protect license_keyowner="ACME", license_keyname="ACME2014"
6`protect license_public_key
7AV6f6JyGUxBpr49EwxN7jfdUQcRqRFDN7Mto2ltk+emrRCQS+bW/Yvu8U3w9kx7g
8rCXFueY/S8lyKUExUP2Yi5C3K9WIFqF7Ov3Hm9/fEumxDzvYkGOGuGu/xv/OYIyb
9 …
Read more...

星球大战万代模型

万代

Yoda

Yoda

General Grievous

General Grievous

C-3PO

C-3PO

BB-8 & D-O DIORAMA SET

BB-8 & D-O DIORAMA SET

K-2SO

K-2SO

Boba Fett

Boba Fett

Darth Vader

Darth Vader

Captain Phasma

Captain Phasma

Stormtrooper

Stormtrooper

Shoretrooper

Shoretrooper

Shadow Stormtrooper

Shadow Stormtrooper

First Order Stormtrooper

First Order Stormtrooper

Kylo Ren

Kylo Ren

Mandalorian

Mandalorian

Razor Crest

Razor Crest

Vivado加密IP

xilinx

整理 UG1118 Ch6

权限管理

  • 公共权限(Common Rights):适用于所有EDA工具

  • 特定权限(Vendor-Specific Rights):授予开发者的特定权限(如控制Vivado Logic Analyzer探测器行为),此部分访问权限值覆盖普通权限同名值

  • 条件权限(Conditional Rights):IEEE-1735-2014 V2 引入,允许不同条件下指定不同访问权限


IEEE 1735 结构

  • 定义域(Definition area):定义支持的供应商及其访问权限

  • 密钥定义(Encrypted Key Definition)

  • 加密负载(Encrypted payload):加密IP的Verilog、System Verilog、 VHDL源码

  • 纯文本负载(Plain-text payload):IP源码未加密部分

以一个完整密钥文件内容为例

 1`pragma protect version = 2
 2`pragma protect encrypt_agent = "XILINX"
 3`pragma …
Read more...
Previous Page 3 of 3