oti-training / i2c_master_wb-2agent

0 stars 5 forks source link

Master to I2c virtual sequence #15

Closed zeroleaked closed 2 days ago

zeroleaked commented 3 days ago
  1. Common, parameterized vseq for basic read and write, uses a common i2c seq and common base master seq
  2. Common i2c agent
  3. These common packages are then used in axil_base_test
  4. Rename some AXI-Lite sim files to conform to our new naming rules (axil_)
  5. Add more constraints in AXI-Lite seq item to help with data randomization
  6. Decrease AXI-L monitor verbosity
zeroleaked commented 3 days ago

btw ini udah bisa jalan blm si? aku blm nyoba wkkw

cobain dong. seru kok. init_project aja lagi soalnya ada package baru juga

overcookedlobster commented 3 days ago

ini lu taro di branch mana?

zeroleaked commented 3 days ago

ini lu taro di branch mana?

Kan ada tulisannya di atas wkwkwk. Di branch i2c-sequence di fork aku. Masalahnya kalo pake main buat pr jadi berantakan sinkronisasi antara fork aku dan repo ini

overcookedlobster commented 3 days ago

UVM_INFO /media/flyinglobster/wd/vivado/Vivado/2024.1/data/system_verilog/uvm_1.2/xlnx_uvm_package.sv(19968) @ 201935000: reporter [TEST_DONE] 'run' phase is ready to proceed to the 'extract' phase UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=4c UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=ca UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=55 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=0e UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=d0 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=97 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=ae UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=9f UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=84 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=06 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=b3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=af UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=a8 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=c3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=1a UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=d3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=81 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=59 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=61 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=05 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=88 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=f8 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=e3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=fa UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=50 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=af UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=a5 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=1b UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=80 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=54 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=2a UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=61 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=ad UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=d3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=b7 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=b2 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=de UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=04 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=99 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=f3 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=cd UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=4c UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=9d UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=e5 UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=ee UVM_ERROR /home/flyinglobster/oti_i2c_bridge/sim/sim_axil/env/axil_scoreboard.sv(80) @ 201935000: uvm_test_top.env.scbd [SCBD] Missing I2C transaction: addr=50 read=0 data=e7 UVM_INFO /media/flyinglobster/wd/vivado/Vivado/2024.1/data/system_verilog/uvm_1.2/xlnx_uvm_package.sv(13673) @ 201935000: reporter [UVM/REPORT/SERVER]

masih gini ya errornya?

zeroleaked commented 3 days ago

Errornya di scoreboard aja kan? Yang main sekarang memang belum bener scoreboardnya. Makin banyak errornya karena makin banyak transaksinyaa. Aku belum ngurusin scoreboard. Tadi bikin ref model, besok beres2 scoreboard (pake ref model)

AgapeDsky commented 2 days ago

Cara sinkronisasi i2c_seq sama master_seq gimana? harusnya i2c_seq jalan setelah sda dilepas sama master kan?

zeroleaked commented 2 days ago

Cara sinkronisasi i2c_seq sama master_seq gimana? harusnya i2c_seq jalan setelah sda dilepas sama master kan?

Iya. i2c_driver baru ngambil item dari sequencer kalau nemu start condition

AgapeDsky commented 2 days ago

uda aman seharusnya ✌️