MODELING MEMORY

Поделиться
HTML-код
  • Опубликовано: 23 июл 2024

Комментарии • 12

  • @sudhanshu1351
    @sudhanshu1351 Год назад +8

    At 25:42 you have written read which is not defined.

    • @phaneendrakumar658
      @phaneendrakumar658 Месяц назад

      He even did not define data which is inside for loop

  • @stalin792
    @stalin792 10 месяцев назад +1

    eg:4 of ram3 we do not declare any signal like read, why should we consider that "read_signal" in the ram_test,,why?????

    • @user-yw1ro9up8m
      @user-yw1ro9up8m 3 месяца назад

      I believe it's just a typo and it can be ignored. Earlier, prof said if write = 1, we write and if write = 0, we read.

  • @harshavardhankr7006
    @harshavardhankr7006 2 года назад +2

    is the code given at the end correct?

  • @shubhurv543
    @shubhurv543 3 года назад

    At 5:48 how can we use initial block inside a module...we can use initial block under test benches only I guess...

    • @pratikpawar5842
      @pratikpawar5842 3 года назад +1

      We can use initial in module by knowing it's use. Initial will execute only once. And here we are storing data in memory so no need of always block. The thing is we can't use always block in testbench.

    • @stalin792
      @stalin792 10 месяцев назад

      tell me the reason why shouldn't we consider, it because mem[i]'s are unpacked part selected bits, such that we shouldn't use the "continuous assignment" for those LHS="reg data_type" and RHS has value in binary formate we should use it, that's why with the use of procedural block and blocking statements we can write the mem[addr]=value;

    • @user-yw1ro9up8m
      @user-yw1ro9up8m 3 месяца назад

      When instantiating a memory module in a testbench, we may want that memory module to initially have stored certain values. Hence, for this to be the case each time we instantiate a memory module, we can initialize the memory locations using an initial block in the module.

    • @user-yw1ro9up8m
      @user-yw1ro9up8m 3 месяца назад

      @@pratikpawar5842 In pretty much all synchronous circuits, the testbench uses an always block for the clock?

  • @skanoun
    @skanoun Год назад +1

    I love you prof

  • @rahultheytv5347
    @rahultheytv5347 4 года назад +1

    thank you for videos sir