Re: [casper] Casper in Ubuntu 24.04

2025-04-23 Thread Bishnu Kumar Sharma
Hello Mitchell and Ben,
Ubuntu 24.04 and Matlab 2022a have some low-level graphical issues.
>> set(0,'DefaultFigureRenderer','painters')
After using this command in the Matlab window, I can see scope plots. But I
want to include it in a startsg.local file or startsg file.
I faced this issue in a different Computer with ubuntu24.
One more thing, I noticed that, if run Matlab.
./path_to_matlab/bin/matlab -softwareopengl
"SOFTWAREOPENGL" can also solve the issue of low-level graphical issues.
I think Vitis Model composer should support 4x2 board.
I faced a similar compilation error like @[email protected]
  while compiling jasper_frontend. So far i have
success in simulation parts, but no luck in compilation parts.
Best Regards
Bishnu Sharma
Institute of Astronomy and Astrophysics
Academia Sinica



On Wed, Apr 23, 2025 at 11:30 AM Bishnu Kumar Sharma <
[email protected]> wrote:

> Hi Ben and Mitch,
> I have followed Ben toolflow and installed Vivado and Matlab 2022a. I
> simulate the Tutorial file and they are running however, I don't see
> anything in the scope. Is this because of a Matlab Graphical issue, or i am
> missing somethings.
> I haven't yet installed CASPRFPGA. I think Simulation and compilation have
> nothing to do with casperfpga.
> Ubuntu 24 is running Python3.12.
> >>jasper
> Starting jasper for model: rfsoc4x2_tut_rfdc_real
> Build directory:
> /home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real
> Checking Mezzanine block sites
> Updating diagram
> Generating peripherals file
> Opening output file:
> /home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.per
> Closing output file:
> /home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.per
> Warning: python2 not found.
> > In git_info (line 26)
> In git_write_info (line 2)
> In jasper_frontend (line 46)
> In jasper (line 6)
> Launching jasper flow middleware
> /home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py:1774:
> SyntaxWarning: invalid escape sequence '\['
>   puts_red = """
> /home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py:1959:
> SyntaxWarning: invalid escape sequence '\.'
>   ip_regexp = os.path.join(self.compile_dir,
> "myproj/myproj.srcs/user_top-toolflow/ip/[^/]+/[^/]+\.xci")
> Traceback (most recent call last):
>   File
> "/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/exec_flow.py", line
> 7, in 
> import toolflow
>   File
> "/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py", line
> 10, in 
> import casper_platform as platform
>   File
> "/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/casper_platform.py",
> line 2, in 
> import yaml
> ModuleNotFoundError: No module named 'yaml'
> ERROR: see
> /home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.log
> for details
> Output argument "build_cmd" (and possibly others) not assigned a value in
> the execution with "jasper_frontend" function.
>
> Error in jasper (line 6)
> build_cmd = jasper_frontend;
> Thank you.
> On Tuesday, April 8, 2025 at 12:08:10 PM UTC+8 Mitchell Burnett wrote:
>
>> Hi Bishnu,
>>
>> Yes, there are some notes about setting up the most recent m2022a branch (
>> https://github.com/casper-astro/mlib_devel/tree/m2022a) of the CASPER
>> tools on Ubuntu 24.04. This branch is intended to be used with Vivado
>> 2023.1 and MATLAB 2022a. Those notes are found under the Ubuntu 24.04
>> section of “A note on Operating Systems”, found here:
>> https://casper-toolflow.readthedocs.io/en/latest/index.html#a-note-on-operating-systems
>> .
>>
>> This is relatively new and so reach out if there is something to clarify
>> in the process. As you go through, make sure that with the additional
>> libraries that are installed that they are properly linked so that MATLAB
>> and Vivado can find them on startup.
>>
>> Best,
>> Mitch
>>
>> On Apr 7, 2025, at 7:24 PM, Bishnu Kumar Sharma <
>> [email protected]> wrote:
>>
>> Hello Casperites,
>> I recently observed a pattern that the latest computers with Intel CPUs,
>> especially 14th generation, found it extremely difficult to install Ubuntu
>> 20.04. With technology advancing, I am thinking of trying CASPER in Ubuntu
>> 24.04. I found that the Casper website has some updates for Ubuntu 24.04.
>> https://casper-toolflow.readthedocs.io/en/latest/index.html
>> If someone has tried installing it before and has some notes, memos, or
>> tutorials about installing CASPER in 24.04. Please let me know. Thank you.
>> Best Regards
>> Bishnu Sharma
>> Institute of Astronomy and Astrophysics
>> Academia Sinica
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "[email protected]" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion

Re: [casper] Casper in Ubuntu 24.04

2025-04-22 Thread Bishnu Kumar Sharma
Hi Ben and Mitch, 
I have followed Ben toolflow and installed Vivado and Matlab 2022a. I 
simulate the Tutorial file and they are running however, I don't see 
anything in the scope. Is this because of a Matlab Graphical issue, or i am 
missing somethings. 
I haven't yet installed CASPRFPGA. I think Simulation and compilation have 
nothing to do with casperfpga. 
Ubuntu 24 is running Python3.12. 
>>jasper
Starting jasper for model: rfsoc4x2_tut_rfdc_real
Build directory: 
/home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real
Checking Mezzanine block sites
Updating diagram
Generating peripherals file
Opening output file: 
/home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.per
Closing output file: 
/home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.per
Warning: python2 not found. 
> In git_info (line 26)
In git_write_info (line 2)
In jasper_frontend (line 46)
In jasper (line 6) 
Launching jasper flow middleware
/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py:1774: 
SyntaxWarning: invalid escape sequence '\['
  puts_red = """
/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py:1959: 
SyntaxWarning: invalid escape sequence '\.'
  ip_regexp = os.path.join(self.compile_dir, 
"myproj/myproj.srcs/user_top-toolflow/ip/[^/]+/[^/]+\.xci")
Traceback (most recent call last):
  File 
"/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/exec_flow.py", line 
7, in 
import toolflow
  File "/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/toolflow.py", 
line 10, in 
import casper_platform as platform
  File 
"/home/bishnu/Desktop/m_work/mlib_devel/jasper_library/casper_platform.py", 
line 2, in 
import yaml
ModuleNotFoundError: No module named 'yaml'
ERROR: see 
/home/bishnu/Desktop/m_work/tutorials_devel/rfsoc/tut_rfdc/rfsoc4x2/rfsoc4x2_tut_rfdc_real/jasper.log
 
for details
Output argument "build_cmd" (and possibly others) not assigned a value in 
the execution with "jasper_frontend" function.

Error in jasper (line 6)
build_cmd = jasper_frontend;
Thank you. 
On Tuesday, April 8, 2025 at 12:08:10 PM UTC+8 Mitchell Burnett wrote:

> Hi Bishnu,
>
> Yes, there are some notes about setting up the most recent m2022a branch (
> https://github.com/casper-astro/mlib_devel/tree/m2022a) of the CASPER 
> tools on Ubuntu 24.04. This branch is intended to be used with Vivado 
> 2023.1 and MATLAB 2022a. Those notes are found under the Ubuntu 24.04 
> section of “A note on Operating Systems”, found here: 
> https://casper-toolflow.readthedocs.io/en/latest/index.html#a-note-on-operating-systems
> .
>
> This is relatively new and so reach out if there is something to clarify 
> in the process. As you go through, make sure that with the additional 
> libraries that are installed that they are properly linked so that MATLAB 
> and Vivado can find them on startup.
>
> Best,
> Mitch
>
> On Apr 7, 2025, at 7:24 PM, Bishnu Kumar Sharma <
> [email protected]> wrote:
>
> Hello Casperites, 
> I recently observed a pattern that the latest computers with Intel CPUs, 
> especially 14th generation, found it extremely difficult to install Ubuntu 
> 20.04. With technology advancing, I am thinking of trying CASPER in Ubuntu 
> 24.04. I found that the Casper website has some updates for Ubuntu 24.04. 
> https://casper-toolflow.readthedocs.io/en/latest/index.html
> If someone has tried installing it before and has some notes, memos, or 
> tutorials about installing CASPER in 24.04. Please let me know. Thank you.  
> Best Regards
> Bishnu Sharma
> Institute of Astronomy and Astrophysics
> Academia Sinica
>
>
> -- 
> You received this message because you are subscribed to the Google Groups "
> [email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CACqpYn7jWUKdc2QDBFe5MR3iZ7j4n%2BuTvS5jhqfNZkHRSHTYrg%40mail.gmail.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/cf05f1aa-5b65-4258-b1e9-4db1b270e42bn%40lists.berkeley.edu.


Re: [casper] Casper in Ubuntu 24.04

2025-04-10 Thread Mitchell Burnett
Hi Bishnu,

Yes, there are some notes about setting up the most recent m2022a branch 
(https://github.com/casper-astro/mlib_devel/tree/m2022a) of the CASPER tools on 
Ubuntu 24.04. This branch is intended to be used with Vivado 2023.1 and MATLAB 
2022a. Those notes are found under the Ubuntu 24.04 section of “A note on 
Operating Systems”, found here: 
https://casper-toolflow.readthedocs.io/en/latest/index.html#a-note-on-operating-systems.

This is relatively new and so reach out if there is something to clarify in the 
process. As you go through, make sure that with the additional libraries that 
are installed that they are properly linked so that MATLAB and Vivado can find 
them on startup.

Best,
Mitch

> On Apr 7, 2025, at 7:24 PM, Bishnu Kumar Sharma 
>  wrote:
> 
> Hello Casperites, 
> I recently observed a pattern that the latest computers with Intel CPUs, 
> especially 14th generation, found it extremely difficult to install Ubuntu 
> 20.04. With technology advancing, I am thinking of trying CASPER in Ubuntu 
> 24.04. I found that the Casper website has some updates for Ubuntu 24.04. 
> https://casper-toolflow.readthedocs.io/en/latest/index.html
> If someone has tried installing it before and has some notes, memos, or 
> tutorials about installing CASPER in 24.04. Please let me know. Thank you.  
> Best Regards
> Bishnu Sharma
> Institute of Astronomy and Astrophysics
> Academia Sinica
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "[email protected]" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> .
> To view this discussion visit 
> https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CACqpYn7jWUKdc2QDBFe5MR3iZ7j4n%2BuTvS5jhqfNZkHRSHTYrg%40mail.gmail.com
>  
> .

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/399CB021-D0C6-4196-9048-BF3A3699EA2E%40gmail.com.


[casper] Casper in Ubuntu 24.04

2025-04-08 Thread Bishnu Kumar Sharma
Hello Casperites,
I recently observed a pattern that the latest computers with Intel CPUs,
especially 14th generation, found it extremely difficult to install Ubuntu
20.04. With technology advancing, I am thinking of trying CASPER in Ubuntu
24.04. I found that the Casper website has some updates for Ubuntu 24.04.
https://casper-toolflow.readthedocs.io/en/latest/index.html
If someone has tried installing it before and has some notes, memos, or
tutorials about installing CASPER in 24.04. Please let me know. Thank you.
Best Regards
Bishnu Sharma
Institute of Astronomy and Astrophysics
Academia Sinica

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CACqpYn7jWUKdc2QDBFe5MR3iZ7j4n%2BuTvS5jhqfNZkHRSHTYrg%40mail.gmail.com.