36class vnc :
public sc_core::sc_module
41 cci::cci_param<std::string> p_params;
42 cci::cci_param<int> p_gpu_output;
45 std::string m_qemu_opts;
46 std::string m_gpu_device_id;
47 std::vector<std::string> m_spoofed_options = {
":",
"head=",
"display=" };
57 vnc(
const sc_core::sc_module_name& name, sc_core::sc_object* gpu);
68 void build_qemu_options();
76 bool spoofed_opt(
const std::string_view& option);
84 std::string get_head_opt(
char append_suffix =
'\0');
92 std::string get_display_opt(
char append_suffix =
'\0');
100 std::string get_display_device_opt(
char append_suffix =
'\0');
vnc(const sc_core::sc_module_name &name, sc_core::sc_object *gpu)
Construct a new VNC module.
Definition vnc.cc:11