P1076 December 3, 2015 Meeting Minutes

Attendees:

  • Brent Hayhoe, Rob Gaddi, Lieven Lemiengre, Jim Lewis

Agenda:

Meeting Discussion

  • The WG needs a vice chair or secretary to help with meeting notices and meeting minutes
  • Continue with Interface Discussion
  • Questions
    • How do we connect an existing interface, such as SPI to a master that has QSPI?
    • Current model shows SPI derived from QSPI, however, that will not facilitate reuse of existing models.
    • Ryan has a related issue looking for a mapping (his is implicit) between existing records: RelatedRecords
    • Lieven's proposal suggests usage of functions
    • Separating association/mapping from direction abstractions may be a good idea.
    • How do we connect to a model that does not use a bundle/interface?
  • Meeting are posted at: http://www.synthworks.com/2015-12-03%2011.01%20IEEE%20VHDL%20Working%20Group.mp4

We toyed with some syntax for map functions. Keep in mind all syntax is RAW and is the result of brain storming. The following is one idea:

map function select_qspi_slave(
        master: spi_record;
        slave: spi_slave;
        constant i : ssel_rng) generate
 
begin
        master port map (
                mosi(0) => slave.din,
                miso(0) => slave.dout,
                ssel(i) => slave.cs,
                sclk => sclk
        );
end map function select_qspi_slave;

Another idea is:

map function qspi_master_to_slave master: spi_record to slave : spi_slave (constant i : ssel_rng) is
begin
  map (
    mosi(0) => din, 
    miso(0) => dout, 
 ... 

One idea that is currently orphined is mapping in a control interface, such as clk and reset, to multiple different interfaces. Without showing the components, we need to connect ctrl_if that is driven by the ClkReset entity to the s_if and p_if interfaces. Both s_if and p_if include ctrl_if by composition.

architecture tb of testbench is
    signal ctrl_if : ctrl_interface ;
     interface s_if : s_inteface ;
  begin     
    -- open association mapping candidate 1:
    s_if.ctrl_if <=> ctrl_if ; 
    p_if.ctrl_if <=> ctrl_if ; 

    -- open association mapping candidate 2
    map (s_if.ctrl_if => ctrl_if) ; 
    map (p_if.ctrl_if => ctrl_if) ; 
    
    -- open association mapping variation of candidate 2
    map (
      s_if.ctrl_if => ctrl_if, 
      p_if.ctrl_if => ctrl_if
    ) ; 

     -- A longer more verbose option
    s_if <=> ctrl_if map (s_if.ctrl_if => ctrlif) ; 

Review and Approve Meeting Minutes:

  • NA

Next Meeting: Thursday December 17, 11 am Pacific

Previous Meeting: Thursday November 19, 2015

Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2020-02-17 - 15:36:15 - TWikiGuest
 
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback